From 86b5d7103db0ceca1f4526573333c261817d3aa0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 1 Apr 2022 14:00:22 -0600 Subject: [PATCH] [interpolatable] Downgrade assert --- Lib/fontTools/varLib/interpolatable.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lib/fontTools/varLib/interpolatable.py b/Lib/fontTools/varLib/interpolatable.py index 03a8ca807..204a2f36f 100644 --- a/Lib/fontTools/varLib/interpolatable.py +++ b/Lib/fontTools/varLib/interpolatable.py @@ -308,8 +308,10 @@ def test(glyphsets, glyphs=None, names=None): break for i, (m0, m1) in enumerate(zip(allContourIsomorphisms[:-1], allContourIsomorphisms[1:])): + if len(m0) != len(m1): + # We already reported this + continue if not m0: - assert not m1 continue for contour0,contour1 in zip(m0,m1): c0 = contour0[0]