* src/base/ftstroke.c (FT_Stroker_EndSubPath): Ignore tiny gaps.
Fixes bug #1020.
This commit is contained in:
parent
4c3bd2ab93
commit
7ae5609dbe
@ -1,3 +1,9 @@
|
||||
2021-01-27 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
* src/base/ftstroke.c (FT_Stroker_EndSubPath): Ignore tiny gaps.
|
||||
|
||||
Fixes bug #1020.
|
||||
|
||||
2021-01-27 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
[stroker] Minor clean-up.
|
||||
|
@ -1900,8 +1900,8 @@
|
||||
else
|
||||
{
|
||||
/* close the path if needed */
|
||||
if ( stroker->center.x != stroker->subpath_start.x ||
|
||||
stroker->center.y != stroker->subpath_start.y )
|
||||
if ( !FT_IS_SMALL( stroker->center.x - stroker->subpath_start.x ) ||
|
||||
!FT_IS_SMALL( stroker->center.y - stroker->subpath_start.y ) )
|
||||
{
|
||||
error = FT_Stroker_LineTo( stroker, &stroker->subpath_start );
|
||||
if ( error )
|
||||
|
Loading…
Reference in New Issue
Block a user