1 unstable release
0.1.0 | Jun 10, 2021 |
---|
#37 in #opentype
390KB
9K
SLoC
Command line utilities for manipulating OpenType files
This crate contains a number of utilities for manipulating OpenType files:
The utilities are designed in the "Unix pipe" philosophy: if you provide one file name, it is understood as the input font; otherwise, the input font is read from stdin. If you provide a second file name, it is understood as the output font; otherwise the font is written to stdout.
fontcrunch
- A Rust port of https://github.com/googlefonts/fontcrunchttf-add-minimal-dsig
- Adds a minimal DSIG table if one is not presentttf-fix-checksum
- Ensures TTF files have correct checksumttf-fix-non-hinted
- Adds agasp
andprep
table which is set to smooth for all sizesttf-flatten-components
- Flattens componentsttf-optimize-gvar
- Optimizes the gvar table by omitting points which can be inferredttf-remove-overlap
- Removes overlap from TTF filesttf-rename-glyphs
- Renames glyphs to production names
Dependencies
~17–28MB
~433K SLoC