mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-16 10:58:07 +02:00
[sdf] Bug fix.
* src/sdf/ftsdf.c (sdf_generate_with_overlaps): The outside sign will always be 1. And added a missing `else'.
This commit is contained in:
parent
398cae8398
commit
e0a2a76b09
2 changed files with 10 additions and 2 deletions
|
|
@ -1,3 +1,11 @@
|
|||
2020-08-13 Anuj Verma <anujv@iitbhilai.ac.in>
|
||||
|
||||
[sdf] Bug fix.
|
||||
|
||||
* src/sdf/ftsdf.c (sdf_generate_with_overlaps): The
|
||||
outside sign will always be 1. And added a missing
|
||||
`else'.
|
||||
|
||||
2020-08-12 Anuj Verma <anujv@iitbhilai.ac.in>
|
||||
|
||||
[base] Fix memory leaks due to FreeType internals.
|
||||
|
|
|
|||
|
|
@ -3285,8 +3285,8 @@
|
|||
/* wise contours. */
|
||||
if ( orientations[i] == SDF_ORIENTATION_ACW &&
|
||||
internal_params.orientation == FT_ORIENTATION_FILL_RIGHT )
|
||||
internal_params.overload_sign = -1;
|
||||
if ( orientations[i] == SDF_ORIENTATION_CW &&
|
||||
internal_params.overload_sign = 1;
|
||||
else if ( orientations[i] == SDF_ORIENTATION_CW &&
|
||||
internal_params.orientation == FT_ORIENTATION_FILL_LEFT )
|
||||
internal_params.overload_sign = 1;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue