listFontGlyphNames() returning Alphabetical order?
guidoferreyra last edited by gferreira
Hi everyone. It’s posible to get glyph names but following the font glyph order?
Thanks in advance!
justvanrossum last edited by
@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())
guidoferreyra last edited by
Great, I will post the issue soon.
I was thinking in fontTools too, thanks @justvanrossum!