[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:
|
try:
|
||||||
allVectors = []
|
allVectors = []
|
||||||
for glyphset in glyphsets:
|
for glyphset,name in zip(glyphsets, names):
|
||||||
#print('.', end='')
|
#print('.', end='')
|
||||||
glyph = glyphset[glyph_name]
|
glyph = glyphset[glyph_name]
|
||||||
|
|
||||||
@ -169,7 +169,8 @@ def test(glyphsets, glyphs=None, names=None):
|
|||||||
|
|
||||||
|
|
||||||
except ValueError as e:
|
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
|
#raise
|
||||||
#for x in hist:
|
#for x in hist:
|
||||||
# print(x)
|
# print(x)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user