From 7f4d8d54f083b2a0a4458356212c7a1591a933cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= <juerg@scratchdisk.com> Date: Tue, 6 Oct 2015 21:14:04 +0200 Subject: [PATCH] Reduce epsilon in addCurveIntersections() 1/10 of CURVETIME_EPSILON appears to produce good results. It's probably wise to keep it linked. --- src/path/Curve.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path/Curve.js b/src/path/Curve.js index 0fbfd1c2..c3067270 100644 --- a/src/path/Curve.js +++ b/src/path/Curve.js @@ -1439,7 +1439,7 @@ new function() { // Scope for intersection using bezier fat-line clipping return; // Let P be the first curve and Q be the second var q0x = v2[0], q0y = v2[1], q3x = v2[6], q3y = v2[7], - epsilon = /*#=*/Numerical.CURVETIME_EPSILON, + epsilon = /*#=*/Numerical.CURVETIME_EPSILON / 10, getSignedDistance = Line.getSignedDistance, // Calculate the fat-line L for Q is the baseline l and two // offsets which completely encloses the curve P.