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
|
||||
|
||||
[truetype] Fix degenerate case in S{P,F,DP}VTL opcodes.
|
||||
|
@ -2222,9 +2222,13 @@
|
||||
if ( error )
|
||||
goto Exit;
|
||||
|
||||
error = FT_Stroker_EndSubPath( stroker );
|
||||
if ( error )
|
||||
goto Exit;
|
||||
/* don't try to end the path if no segments have been generated */
|
||||
if ( !stroker->first_point )
|
||||
{
|
||||
error = FT_Stroker_EndSubPath( stroker );
|
||||
if ( error )
|
||||
goto Exit;
|
||||
}
|
||||
|
||||
first = last + 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user