[cffLib] Make sure we compile VarStore
Ouch. Took me a while to find this bug. If data is set, it will be reused and no compilation happens.
This commit is contained in:
parent
ce78d2c88f
commit
9f51fac512
@ -1050,6 +1050,7 @@ class VarStoreData(object):
|
|||||||
reader = OTTableReader(self.data, globalState)
|
reader = OTTableReader(self.data, globalState)
|
||||||
self.otVarStore = ot.VarStore()
|
self.otVarStore = ot.VarStore()
|
||||||
self.otVarStore.decompile(reader, self.font)
|
self.otVarStore.decompile(reader, self.font)
|
||||||
|
self.data = None
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def compile(self):
|
def compile(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user