fixed a bug in the Conic bezier extrema computation formula..
diff --git a/ChangeLog b/ChangeLog
index a33f865..1ad83b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-11-29 David Turner <david.turner@freetype.org>
+
+ * src/base/ftbbox.c (BBox_Conic_Check): fixed a really stupid
+ bug in the formula used to compute the conic bezier extrema
+ of non-monotonous arcs..
+
2000-11-29 Werner Lemberg <wl@gnu.org>
* src/base/ftcalc.c (FT_SqrtFixed), src/base/ftobjs.c
diff --git a/src/base/ftbbox.c b/src/base/ftbbox.c
index d17234b..1929029 100644
--- a/src/base/ftbbox.c
+++ b/src/base/ftbbox.c
@@ -121,7 +121,7 @@
}
}
- y1 = y3 = FT_MulDiv( y2 - y1, y2 - y1, y1 - 2*y2 + y3 );
+ y1 = y3 = y1 - FT_MulDiv( y2 - y1, y2 - y1, y1 - 2*y2 + y3 );
Suite:
if ( y1 < *min ) *min = y1;