[CFF] Minor
This commit is contained in:
parent
fb3248ff1b
commit
f97b802869
@ -553,9 +553,9 @@ def desubroutinize(self, font):
|
|||||||
if hasattr(font, 'FDArray'):
|
if hasattr(font, 'FDArray'):
|
||||||
for fd in font.FDArray:
|
for fd in font.FDArray:
|
||||||
pd = fd.Private
|
pd = fd.Private
|
||||||
subrs = getattr(pd, "Subrs", [])
|
if hasattr(pd, 'Subrs'):
|
||||||
if subrs:
|
|
||||||
del pd.Subrs
|
del pd.Subrs
|
||||||
|
if 'Subrs' in pd.rawDict:
|
||||||
del pd.rawDict['Subrs']
|
del pd.rawDict['Subrs']
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user