[CFF2ToCFF] Don't decompile subroutines
They can't be decompiled standalone. Decompiling glyph programs already decompiled the used ones.
This commit is contained in:
parent
ee1632c584
commit
397a19deb7
@ -53,7 +53,6 @@ def _convertCFF2ToCFF(cff, otFont):
|
|||||||
getattr(fd.Private, "Subrs", []) for fd in fdArray
|
getattr(fd.Private, "Subrs", []) for fd in fdArray
|
||||||
]:
|
]:
|
||||||
for cs in subrSets:
|
for cs in subrSets:
|
||||||
cs.decompile()
|
|
||||||
cs.program.append("return")
|
cs.program.append("return")
|
||||||
|
|
||||||
# Add (optimal) width to CharStrings that need it.
|
# Add (optimal) width to CharStrings that need it.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user