[cffLib] Remove leftover GlobalState
Fixes https://github.com/fonttools/fonttools/issues/1848
This commit is contained in:
parent
eaafd6089e
commit
c7781ec423
@ -1004,11 +1004,6 @@ class VarStoreData(object):
|
||||
|
||||
def decompile(self):
|
||||
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.
|
||||
length = readCard16(self.file)
|
||||
self.data = self.file.read(length)
|
||||
|
Loading…
x
Reference in New Issue
Block a user