mirror of
https://github.com/rsms/inter.git
synced 2024-11-15 19:47:47 +01:00
fontbuild: fix bug where if g.lib did not have com.schriftgestaltung.Glyphs.lastChange the program would crash
This commit is contained in:
parent
583bd89876
commit
e95089f58b
1 changed files with 2 additions and 1 deletions
|
@ -270,7 +270,8 @@ class Main(object):
|
|||
# unused
|
||||
stripGlyphs.append(g.name)
|
||||
g.clearAnchors()
|
||||
del g.lib['com.schriftgestaltung.Glyphs.lastChange']
|
||||
if 'com.schriftgestaltung.Glyphs.lastChange' in g.lib:
|
||||
del g.lib['com.schriftgestaltung.Glyphs.lastChange']
|
||||
|
||||
# update possibly modified glyphorder
|
||||
font.lib['public.glyphOrder'] = list(glyphOrder)
|
||||
|
|
Loading…
Reference in a new issue