Revert "[interpolatable] Use absolute sqrt area, not signed"

This reverts commit 772d1f8c7895f9b8844264488bd2b542c4391022.

The new false-positives were not worth it. It degrades
the suggested fix for some fonts, but at least they are
not false-positives.
This commit is contained in:
Behdad Esfahbod 2023-11-22 19:34:32 -07:00
parent a72139f354
commit b30da672f0

View File

@ -165,7 +165,7 @@ def _contour_vector_from_stats(stats):
# code depends on it. Search for "covariance".
size = sqrt(abs(stats.area))
return (
size,
copysign((size), stats.area),
stats.meanX,
stats.meanY,
stats.stddevX * 2,