fixed a bug in the Conic bezier extrema computation formula..

This commit is contained in:
David Turner 2000-11-29 23:59:08 +00:00
parent ada9503d22
commit ac83e7e09f
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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;