Skip to content

Commit

Permalink
Merge pull request #66 from rimas-kudelis/patch-1
Browse files Browse the repository at this point in the history
Better fallback for kerning info extraction
  • Loading branch information
benkiel authored Aug 29, 2024
2 parents d3e83b9 + 739b1c2 commit f2ff494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/extractor/formats/opentype.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ def extractOpenTypeKerning(source, destination):
groups = {}
if "GPOS" in source:
kerning, groups = _extractOpenTypeKerningFromGPOS(source)
elif "kern" in source:
if kerning == {} and "kern" in source:
kerning = _extractOpenTypeKerningFromKern(source)
groups = {}
for name, group in groups.items():
Expand Down

0 comments on commit f2ff494

Please sign in to comment.