fix NameError while decompiling ClipList

when range references a missing glyph ID, the loop must continue
This commit is contained in:
Cosimo Lupo 2021-08-09 11:30:00 +02:00
parent 9f7a4ea3e7
commit d025bb8ba7

View File

@ -1333,6 +1333,7 @@ class ClipList(getFormatSwitchingBaseTableClass("uint8")):
glyph = glyphOrder[glyphID]
except IndexError:
missingGlyphs.append(glyphID)
continue
if glyph not in clips:
clips[glyph] = copy.copy(rec.ClipBox)
else: