[interpolatable] Report bad contour in case of math error
This commit is contained in:
parent
c3b2e533e9
commit
c8e68b2f4c
@ -122,7 +122,7 @@ def test(glyphsets, glyphs=None, names=None):
|
||||
|
||||
try:
|
||||
allVectors = []
|
||||
for glyphset in glyphsets:
|
||||
for glyphset,name in zip(glyphsets, names):
|
||||
#print('.', end='')
|
||||
glyph = glyphset[glyph_name]
|
||||
|
||||
@ -169,7 +169,8 @@ def test(glyphsets, glyphs=None, names=None):
|
||||
|
||||
|
||||
except ValueError as e:
|
||||
print('%s: math error %s; skipping glyph' % (glyph_name, e))
|
||||
print('%s: %s: math error %s; skipping glyph.' % (glyph_name, name, e))
|
||||
print(contour.value)
|
||||
#raise
|
||||
#for x in hist:
|
||||
# print(x)
|
||||
|
Loading…
x
Reference in New Issue
Block a user