tooling: Fix kerning extraction in gen-metrics-and-svgs.py
This commit is contained in:
parent
b095e094dc
commit
4262086bff
1 changed files with 2 additions and 2 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Reference in a new issue