Skip to content

Commit

Permalink
tooling: Fix kerning extraction in gen-metrics-and-svgs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rsms committed Oct 11, 2018
1 parent b095e09 commit 4262086
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/tools/gen-metrics-and-svgs.py
Expand Up @@ -179,12 +179,12 @@ def genKerningInfo(ufo, glyphnames, nameToIdMap):
leftnames = []
rightnames = []

if leftname[0] == '@':
if leftname.startswith('public.kern'):
leftnames = groups[leftname]
else:
leftnames = [leftname]

if rightname[0] == '@':
if rightname.startswith('public.kern'):
rightnames = groups[rightname]
else:
rightnames = [rightname]
Expand Down

0 comments on commit 4262086

Please sign in to comment.