Skip to content

Commit

Permalink
Merge pull request #52 from robotools/fontTools4.37.4_fixes
Browse files Browse the repository at this point in the history
._glyph does not exists anymore, go for the new _getGlyphAndOffset() …
  • Loading branch information
typemytype committed Oct 8, 2022
2 parents f97fbdb + 98e7239 commit c310904
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lib/extractor/formats/opentype.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ def extractGlyphPrograms(source, destination):
"""
if "glyf" not in source:
return
glyph_set = source.getGlyphSet()
for name in glyph_set.keys():
glyph = glyph_set[name]._glyph
glyph_table = source["glyf"]
for name in glyph_table.keys():
glyph = glyph_table[name]
dest_glyph = destination[name]
if glyph.isComposite():
# Extract composite flags
Expand Down

0 comments on commit c310904

Please sign in to comment.