From 44b15b41f666f160806011f38aa8d46968feb3ec Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sat, 25 May 2024 18:32:01 +0300 Subject: [PATCH] [ttLib.removeOverlaps] Remove unused subroutines --- Lib/fontTools/ttLib/removeOverlaps.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/fontTools/ttLib/removeOverlaps.py b/Lib/fontTools/ttLib/removeOverlaps.py index 69af15462..4d5c169ff 100644 --- a/Lib/fontTools/ttLib/removeOverlaps.py +++ b/Lib/fontTools/ttLib/removeOverlaps.py @@ -261,6 +261,8 @@ def _remove_cff_overlaps( if removeHinting: cffFontSet.remove_hints() + cffFontSet.remove_unused_subroutines() + log.debug("Removed overlaps for %s glyphs:\n%s", len(modified), " ".join(modified))