Created
December 7, 2011 16:47
-
-
Save benkiel/1443542 to your computer and use it in GitHub Desktop.
Goes through all open fonts to find out if the font uses a component. Useful to run if you're thinking of changing the spacing of a accent and you don't want everything to go all wonky.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from robofab.world import AllFonts | |
fonts = AllFonts() | |
for font in fonts: | |
print font.info.postscriptFullName | |
for glyph in font: | |
if len(glyph.components) != 0: | |
for c in glyph.components: | |
if c.baseGlyph == 'uni0361': | |
print 'uni0361 in ' + glyph.name | |
continue | |
print 'done' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment