listFontGlyphNames() returning Alphabetical order?
-
Hi everyone. It’s posible to get glyph names but following the font glyph order?
Thanks in advance!
-
@guidoferreyra It looks like DrawBot could be changed to do that, yes. Please file an issue on github. In the meantime, you could do it yourself via fontTools:
from fontTools.ttLib import TTFont font("AGaramondPro-Regular") f = TTFont(fontFilePath()) print(f.getGlyphOrder())
-
Great, I will post the issue soon.
I was thinking in fontTools too, thanks @justvanrossum!