cff.py: don't bother cleaning privateDict if it is None
This commit is contained in:
parent
b8f5d3d705
commit
c1bfc6ad4d
@ -61,6 +61,7 @@ def lib_convertCFFToCFF2(cff, otFont):
|
||||
fdArray.append(fontDict)
|
||||
fontDict.Private = privateDict
|
||||
privateOpOrder = buildOrder(privateDictOperators2)
|
||||
if privateDict is not None:
|
||||
for entry in privateDictOperators:
|
||||
key = entry[1]
|
||||
if key not in privateOpOrder:
|
||||
|
Loading…
x
Reference in New Issue
Block a user