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': |
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 | |
from robofab.pens.digestPen import DigestPointPen | |
fonts = AllFonts() | |
def getDigest(glyph): | |
pen = DigestPointPen() | |
glyph.drawPoints(pen) | |
return pen.getDigest() |
NewerOlder