diff options
author | Rasmus Andersson <rasmus@notion.se> | 2018-10-07 00:57:54 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2018-10-11 09:38:31 +0300 |
commit | 4262086bffef542bc10cee51dd3a5f4e48850506 (patch) | |
tree | 6c7f3f98624133d0452e8e541b82321a46d97a76 /misc | |
parent | b095e094dc5851ddfb4e4df3ee2a138a9b63f888 (diff) | |
download | inter-4262086bffef542bc10cee51dd3a5f4e48850506.tar.xz |
tooling: Fix kerning extraction in gen-metrics-and-svgs.py
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/tools/gen-metrics-and-svgs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/tools/gen-metrics-and-svgs.py b/misc/tools/gen-metrics-and-svgs.py index 88b691d7d..aaea74da6 100755 --- a/misc/tools/gen-metrics-and-svgs.py +++ b/misc/tools/gen-metrics-and-svgs.py @@ -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] |