Skip to content

Instantly share code, notes, and snippets.

@shiwano
Created April 1, 2014 06:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shiwano/9908691 to your computer and use it in GitHub Desktop.
Save shiwano/9908691 to your computer and use it in GitHub Desktop.
print_encodings.py
#!/usr/bin/env fontforge -script
import fontforge
font = fontforge.open("enter your font path")
font.selection.all()
for glyph in font.selection.byGlyphs:
print glyph.encoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment