[interpolatable] Reduce kinkiness default

Also don't update legend for kinks yet, to minimize diffs
while I regenerate reports.
This commit is contained in:
Behdad Esfahbod 2023-11-25 17:49:54 -07:00
parent d95b5c382f
commit 574add6a6c
2 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,7 @@ import logging
log = logging.getLogger("fontTools.varLib.interpolatable")
DEFAULT_TOLERANCE = 0.95
DEFAULT_KINKINESS = 1
DEFAULT_KINKINESS = .5
DEFAULT_UPEM = 1000
DEFAULT_MIN_KINK_LENGTH = 0.01

View File

@ -248,6 +248,7 @@ class InterpolatablePlot:
cr.fill()
y -= self.pad + self.line_height
"""
self.draw_label("Point causing kink in the contour", x=xxx, y=y, width=width)
self.draw_circle(
cr,
@ -257,6 +258,7 @@ class InterpolatablePlot:
color=self.kink_point_color,
)
y -= self.pad + self.line_height
"""
self.draw_label("Suggested new contour start point", x=xxx, y=y, width=width)
self.draw_circle(