[interpolatable] Don't continue test if open contours
This commit is contained in:
parent
7993bad2c4
commit
c984acc070
@ -191,9 +191,11 @@ def test_gen(
|
|||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
has_open = False
|
||||||
for ix, open in enumerate(glyph.openContours):
|
for ix, open in enumerate(glyph.openContours):
|
||||||
if not open:
|
if not open:
|
||||||
continue
|
continue
|
||||||
|
has_open = True
|
||||||
yield (
|
yield (
|
||||||
glyph_name,
|
glyph_name,
|
||||||
{
|
{
|
||||||
@ -203,6 +205,8 @@ def test_gen(
|
|||||||
"type": "open_path",
|
"type": "open_path",
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
if has_open:
|
||||||
|
continue
|
||||||
|
|
||||||
matchings = [None] * len(glyphsets)
|
matchings = [None] * len(glyphsets)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user