fixed a bug in the Conic bezier extrema computation formula..
This commit is contained in:
parent
ada9503d22
commit
ac83e7e09f
@ -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…
Reference in New Issue
Block a user