CmdID

CmdID / Commands

fonttools-subset

Generate subsets of fonts or optimize file sizes. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Subset a TTF font file to the Basic Latin Unicode block

fonttools subset path/to/font.ttf --unicodes=U+0000-007FIdentify

Change the file type to WOFF2

fonttools subset path/to/font.ttf --unicodes=U+0000-007F --flavor=woff2Identify

Keep only the onum (oldstyle figures) and kern (kerning) OpenType font features

fonttools subset path/to/font.ttf --unicodes=U+0000-007F --layout-features=onum,kernIdentify

Set the output file's name

fonttools subset path/to/font.ttf --unicodes=U+0000-007F --output-file=path/to/subset.ttfIdentify