[subset] Fix subsetting of VarStore
Was *so* broken. Ouch! Reported by Nyshadh, reproduced with Comfortaa-Regular.ttf.
This commit is contained in:
parent
335c98512e
commit
abb9d149ed
@ -204,7 +204,7 @@ def VarStore_subset_varidxes(self, varIdxes, optimize=True):
|
|||||||
usedMinors = used.get(major)
|
usedMinors = used.get(major)
|
||||||
if usedMinors is None:
|
if usedMinors is None:
|
||||||
continue
|
continue
|
||||||
newMajor = varDataMap[major] = len(newVarData)
|
newMajor = len(newVarData)
|
||||||
newVarData.append(data)
|
newVarData.append(data)
|
||||||
|
|
||||||
items = data.Item
|
items = data.Item
|
||||||
|
Loading…
x
Reference in New Issue
Block a user