From 14a767719b2def735bc10c9ff57e98901227f80b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 21 Mar 2023 13:30:30 -0600 Subject: [PATCH] [bezierTools] Add link to algorithm https://github.com/fonttools/fonttools/issues/3055 --- Lib/fontTools/misc/bezierTools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/fontTools/misc/bezierTools.py b/Lib/fontTools/misc/bezierTools.py index 141279255..77656936f 100644 --- a/Lib/fontTools/misc/bezierTools.py +++ b/Lib/fontTools/misc/bezierTools.py @@ -214,7 +214,7 @@ def calcQuadraticArcLengthC(pt1, pt2, pt3): Arc length value. """ # Analytical solution to the length of a quadratic bezier. - # I'll explain how I arrived at this later. + # Documentation: https://github.com/fonttools/fonttools/issues/3055 d0 = pt2 - pt1 d1 = pt3 - pt2 d = d1 - d0