Merge pull request #2569 from fonttools/cff-globalState

[cff] Remove GlobalState
This commit is contained in:
Khaled Hosny 2022-04-01 00:11:21 +02:00 committed by GitHub
commit f028c201bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)