[avar2] Revert unneeded change to VarIdxMap
We don't use VarIdxMap anymore.
This commit is contained in:
parent
e9e55b29f7
commit
85036d5d83
@ -711,9 +711,8 @@ class VarIdxMap(BaseTable):
|
||||
if mapping is None:
|
||||
mapping = self.mapping = {}
|
||||
|
||||
if type(mapping) == dict:
|
||||
glyphOrder = font.getGlyphOrder()
|
||||
mapping = [mapping[g] for g in glyphOrder]
|
||||
glyphOrder = font.getGlyphOrder()
|
||||
mapping = [mapping[g] for g in glyphOrder]
|
||||
while len(mapping) > 1 and mapping[-2] == mapping[-1]:
|
||||
del mapping[-1]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user