getFullGlyphOrder.py 348 B

123456789101112131415161718
  1. font = CurrentFont()
  2. #print (font.glyphOrder)
  3. index = 0
  4. fullGlyphOrder = []
  5. for glyph in font.glyphOrder:
  6. my_list = [ str(index) , glyph , str( font[glyph].unicode ) ]
  7. fullGlyphOrder.append( my_list )
  8. #print( str(index) + "," + glyph + "," + str( font[glyph].unicode ) )
  9. index+=1
  10. print (fullGlyphOrder)
  11. #print ( hex(58) )