From c7781ec4237a77b5229bf87c12988358d376b793 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 31 Mar 2022 15:24:57 -0600 Subject: [PATCH] [cffLib] Remove leftover GlobalState Fixes https://github.com/fonttools/fonttools/issues/1848 --- Lib/fontTools/cffLib/__init__.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Lib/fontTools/cffLib/__init__.py b/Lib/fontTools/cffLib/__init__.py index 07d0d5136..9614f0f61 100644 --- a/Lib/fontTools/cffLib/__init__.py +++ b/Lib/fontTools/cffLib/__init__.py @@ -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)