forked from minhngoc25a/freetype2
Fix Savannah bug #33992.
* src/base/ftstroke.c (FT_Stroker_ParseOutline): Fix border case.
This commit is contained in:
parent
bad0160c16
commit
864c426eff
|
@ -1,3 +1,9 @@
|
||||||
|
2011-08-15 David Bevan <david.bevan@pb.com>
|
||||||
|
|
||||||
|
Fix Savannah bug #33992.
|
||||||
|
|
||||||
|
* src/base/ftstroke.c (FT_Stroker_ParseOutline): Fix border case.
|
||||||
|
|
||||||
2011-08-12 Werner Lemberg <wl@gnu.org
|
2011-08-12 Werner Lemberg <wl@gnu.org
|
||||||
|
|
||||||
[truetype] Fix degenerate case in S{P,F,DP}VTL opcodes.
|
[truetype] Fix degenerate case in S{P,F,DP}VTL opcodes.
|
||||||
|
|
|
@ -2222,9 +2222,13 @@
|
||||||
if ( error )
|
if ( error )
|
||||||
goto Exit;
|
goto Exit;
|
||||||
|
|
||||||
error = FT_Stroker_EndSubPath( stroker );
|
/* don't try to end the path if no segments have been generated */
|
||||||
if ( error )
|
if ( !stroker->first_point )
|
||||||
goto Exit;
|
{
|
||||||
|
error = FT_Stroker_EndSubPath( stroker );
|
||||||
|
if ( error )
|
||||||
|
goto Exit;
|
||||||
|
}
|
||||||
|
|
||||||
first = last + 1;
|
first = last + 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue