From 2fd2e4a7cf43d8a789c2d93cfa677c8730767685 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 6 May 2017 14:14:54 -0600 Subject: [PATCH] [cffLib.specializer] Add TODO item --- Lib/fontTools/cffLib/specializer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/fontTools/cffLib/specializer.py b/Lib/fontTools/cffLib/specializer.py index 94d5331c9..527494462 100644 --- a/Lib/fontTools/cffLib/specializer.py +++ b/Lib/fontTools/cffLib/specializer.py @@ -374,6 +374,7 @@ def specializeCommands(commands, commands[i-1] = (op, [other_args[0]+args[0]]) del commands[i] continue + # TODO A 0moveto that comes before all other path operations can be removed. # 4. Peephole optimization to revert back some of the h/v variants back into their # original "relative" operator (rline/rrcurveto) if that saves a byte.