Open mzealey opened 8 years ago
Hi, thank you for your suggestion.
I believe you can do that by:
$ for ((i=0x2600; i<=0x2700; i++)); do printf '\u'`printf %04x $i`; done > your.set
$ python glyphIgo.py subset -f font.ttf -p your.set -o extracted.ttf
(See also: http://www.albertopettarin.it/blog/2014/09/16/subsetting-fonts-with-glyphigo.html )
However, I agree that a more straightforward way, e.g. by using -r
as you suggested, would be better. Some time next month (August 2016) I will allocate time to rewrite glyphIgo, and I will address this issue. Hence, not doing anything right now, but leaving open to address it next month or so.
Hi there, great project. I came across this when trying to extract a subset of chars from a font file like:
Turns out with a bit of hacking it's very easy to do - perhaps you could include something like this in the code? (not sure if i got the parameter stuff right)