Fix Savannah bug #44412 (part 1).
* src/base/ftstroke.c (ft_stroker_inside): Handle near U-turns.
This commit is contained in:
parent
eee7d8baa1
commit
6b832c872d
@ -1,3 +1,9 @@
|
||||
2015-03-10 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
Fix Savannah bug #44412 (part 1).
|
||||
|
||||
* src/base/ftstroke.c (ft_stroker_inside): Handle near U-turns.
|
||||
|
||||
2015-03-10 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[base] Rename `FT_Bitmap_New' to `FT_Bitmap_Init'.
|
||||
|
@ -999,7 +999,9 @@
|
||||
|
||||
/* Only intersect borders if between two lineto's and both */
|
||||
/* lines are long enough (line_length is zero for curves). */
|
||||
if ( !border->movable || line_length == 0 )
|
||||
/* Also avoid U-turns of nearly 180 degree. */
|
||||
if ( !border->movable || line_length == 0 ||
|
||||
theta > 0x59C000 || theta < -0x59C000 )
|
||||
intersect = FALSE;
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user