Closed Jieiku closed 2 years ago
I just found something which uses this library: https://github.com/omacranger/fontawesome-subset/issues/16#issuecomment-1151744198
Do you mean outside the context of a web page? Yeah, then one option is https://github.com/papandreou/subset-font, although it doesn't offer a CLI. It uses harfbuzz under the hood, which comes with a CLI tool called hb-subset
that you can use.
Alternatively you can use pyftsubset
from https://github.com/fonttools/fonttools
I just implemented this: https://github.com/Jieiku/fontsubset
it seems to be getting the job done.
Thank you very very much for these libraries!
Now I just need to figure out how to combine font files into a single font file.
Is there a possibility for you to change the name of that new tool? We've spent some time on promoting subfont in different settings already, and it would be impractical to have another tool have exactly the same name and come out in searches instead
absolutely, will do it within the hour (not at my pc yet)
Thanks 😄
Is there a way to use subfont to grab only certain font glyphs, maybe by unicode value?
I am hoping to do it via command line on linux.