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:
parent
a72139f354
commit
b30da672f0
@ -165,7 +165,7 @@ def _contour_vector_from_stats(stats):
|
|||||||
# code depends on it. Search for "covariance".
|
# code depends on it. Search for "covariance".
|
||||||
size = sqrt(abs(stats.area))
|
size = sqrt(abs(stats.area))
|
||||||
return (
|
return (
|
||||||
size,
|
copysign((size), stats.area),
|
||||||
stats.meanX,
|
stats.meanX,
|
||||||
stats.meanY,
|
stats.meanY,
|
||||||
stats.stddevX * 2,
|
stats.stddevX * 2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user