[CFF2ToCFF] Remove unused code
This commit is contained in:
parent
1536efc22e
commit
1076f2c558
@ -36,10 +36,6 @@ def _convertCFF2ToCFF(cff, otFont):
|
|||||||
if hasattr(topDict, "VarStore"):
|
if hasattr(topDict, "VarStore"):
|
||||||
raise ValueError("Variable CFF2 font cannot be converted to CFF format.")
|
raise ValueError("Variable CFF2 font cannot be converted to CFF format.")
|
||||||
|
|
||||||
if hasattr(topDict, "Private"):
|
|
||||||
privateDict = topDict.Private
|
|
||||||
else:
|
|
||||||
privateDict = None
|
|
||||||
opOrder = buildOrder(topDictOperators)
|
opOrder = buildOrder(topDictOperators)
|
||||||
topDict.order = opOrder
|
topDict.order = opOrder
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user