fix NameError while decompiling ClipList
when range references a missing glyph ID, the loop must continue
This commit is contained in:
parent
9f7a4ea3e7
commit
d025bb8ba7
@ -1333,6 +1333,7 @@ class ClipList(getFormatSwitchingBaseTableClass("uint8")):
|
|||||||
glyph = glyphOrder[glyphID]
|
glyph = glyphOrder[glyphID]
|
||||||
except IndexError:
|
except IndexError:
|
||||||
missingGlyphs.append(glyphID)
|
missingGlyphs.append(glyphID)
|
||||||
|
continue
|
||||||
if glyph not in clips:
|
if glyph not in clips:
|
||||||
clips[glyph] = copy.copy(rec.ClipBox)
|
clips[glyph] = copy.copy(rec.ClipBox)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user