[ttLib.removeOverlaps] Remove unused subroutines

This commit is contained in:
Khaled Hosny 2024-05-25 18:32:01 +03:00
parent ce8fcfcc4f
commit 44b15b41f6

View File

@ -261,6 +261,8 @@ def _remove_cff_overlaps(
if removeHinting: if removeHinting:
cffFontSet.remove_hints() cffFontSet.remove_hints()
cffFontSet.remove_unused_subroutines()
log.debug("Removed overlaps for %s glyphs:\n%s", len(modified), " ".join(modified)) log.debug("Removed overlaps for %s glyphs:\n%s", len(modified), " ".join(modified))