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

VER-2-0-4-PATCH
David Turner 24 years ago
parent 0973e98e21
commit 5744be18a2
  1. 6
      ChangeLog
  2. 2
      src/base/ftbbox.c

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

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

Loading…
Cancel
Save