Merge pull request #2569 from fonttools/cff-globalState
[cff] Remove GlobalState
This commit is contained in:
commit
f028c201bd
@ -1004,11 +1004,6 @@ class VarStoreData(object):
|
|||||||
|
|
||||||
def decompile(self):
|
def decompile(self):
|
||||||
if self.file:
|
if self.file:
|
||||||
class GlobalState(object):
|
|
||||||
def __init__(self, tableType, cachingStats):
|
|
||||||
self.tableType = tableType
|
|
||||||
self.cachingStats = cachingStats
|
|
||||||
globalState = GlobalState(tableType="VarStore", cachingStats={})
|
|
||||||
# read data in from file. Assume position is correct.
|
# read data in from file. Assume position is correct.
|
||||||
length = readCard16(self.file)
|
length = readCard16(self.file)
|
||||||
self.data = self.file.read(length)
|
self.data = self.file.read(length)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user