typesupply/glyph-nanny

Make the constant test values customizable.

Opened this issue · 1 comments

For example, the distance from a vertical metric.

  • testContourCount: number of component difference after removeOverlap (default: 2)
  • testMetricsSymmetry: threshold before error is thrown (default: 5)
  • testForSmallContours: min area for contours (default: 4)
  • testForStraightLines: min allowed deviation (default: 5)
  • testForSegmentsNearVerticalMetrics: min allowed deviation (default: 5)