[CFF2ToCFF] Don't decompile subroutines

They can't be decompiled standalone. Decompiling glyph programs
already decompiled the used ones.
This commit is contained in:
Behdad Esfahbod 2024-05-17 11:35:11 -07:00
parent ee1632c584
commit 397a19deb7

View File

@ -53,7 +53,6 @@ def _convertCFF2ToCFF(cff, otFont):
getattr(fd.Private, "Subrs", []) for fd in fdArray
]:
for cs in subrSets:
cs.decompile()
cs.program.append("return")
# Add (optimal) width to CharStrings that need it.