[interpolatable] When checking for contour start point error allow for 5% error

This commit is contained in:
Behdad Esfahbod 2022-03-31 20:16:55 -06:00
parent 745631d16b
commit b705bcdc8f

View File

@ -305,7 +305,7 @@ def test(glyphsets, glyphs=None, names=None):
costs = [v for v in (_complex_vlen(_vdiff(c0, c1)) for i1,c1 in contour1)]
min_cost = min(costs)
first_cost = costs[0]
if min_cost < first_cost:
if min_cost < first_cost * .95:
add_problem(
glyph_name,
{