[Snippets/interpolatable] Skip incompatible glyphs
This commit is contained in:
parent
a284865851
commit
3a4f1fb170
@ -148,7 +148,9 @@ def test(glyphsets, glyphs=None):
|
|||||||
|
|
||||||
# Check each master against the next one in the list.
|
# Check each master against the next one in the list.
|
||||||
for m0,m1 in zip(allVectors[:-1],allVectors[1:]):
|
for m0,m1 in zip(allVectors[:-1],allVectors[1:]):
|
||||||
assert len(m0) == len(m1)
|
if len(m0) != len(m1):
|
||||||
|
print('Glyphs not compatible!!!!!', glyph_name)
|
||||||
|
continue
|
||||||
if not m0:
|
if not m0:
|
||||||
continue
|
continue
|
||||||
costs = [[_vlen(_vdiff(v0,v1)) for v1 in m1] for v0 in m0]
|
costs = [[_vlen(_vdiff(v0,v1)) for v1 in m1] for v0 in m0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user