diff --git a/Lib/fontTools/varLib/varStore.py b/Lib/fontTools/varLib/varStore.py index 6afedf6eb..ae885d3ea 100644 --- a/Lib/fontTools/varLib/varStore.py +++ b/Lib/fontTools/varLib/varStore.py @@ -204,7 +204,7 @@ def VarStore_subset_varidxes(self, varIdxes, optimize=True): usedMinors = used.get(major) if usedMinors is None: continue - newMajor = varDataMap[major] = len(newVarData) + newMajor = len(newVarData) newVarData.append(data) items = data.Item