ref: ac83e7e09f7d0afbf831375d37b5a821d5c18f78
parent: ada9503d2223cdc2c700e83d0fe92f5a1d21d652
author: David Turner <[email protected]>
date: Wed Nov 29 18:59:08 EST 2000
fixed a bug in the Conic bezier extrema computation formula..
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-11-29 David Turner <[email protected]>
+
+ * 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 <[email protected]>
* src/base/ftcalc.c (FT_SqrtFixed), src/base/ftobjs.c
--- 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;