From fa303ea07aefb0dde5ec7af1010008f2ef335307 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 9 Nov 2018 09:57:09 -0500 Subject: [PATCH] [varLib] Comment --- Lib/fontTools/varLib/merger.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/fontTools/varLib/merger.py b/Lib/fontTools/varLib/merger.py index e1ad9f1ce..05992fb23 100644 --- a/Lib/fontTools/varLib/merger.py +++ b/Lib/fontTools/varLib/merger.py @@ -371,6 +371,9 @@ def _ClassDef_merge_classify(lst, allGlyphs=None): return self, classes +# It's stupid that we need to do this here. Just need to, to match test +# expecatation results, since ttx prints out format of ClassDef (and Coverage) +# even though it should not. def _ClassDef_calculate_Format(self, font): fmt = 2 ranges = self._getClassRanges(font)