[autofit] Fix variable initializations.
* src/autofit/afhints.c (af_glyph_hints_reload): Assign default values to `in_dir' and `out_dir' for all points.
This commit is contained in:
parent
07e7b8affe
commit
faa21472b7
|
@ -1,3 +1,10 @@
|
|||
2014-05-11 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[autofit] Fix variable initializations.
|
||||
|
||||
* src/autofit/afhints.c (af_glyph_hints_reload): Assign default
|
||||
values to `in_dir' and `out_dir' for all points.
|
||||
|
||||
2014-05-11 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[autofit] Fix crash with font `CabinSketch-Bold.ttf'.
|
||||
|
|
|
@ -651,6 +651,9 @@
|
|||
|
||||
for ( point = points; point < point_limit; point++, vec++, tag++ )
|
||||
{
|
||||
point->in_dir = (FT_Char)AF_DIR_NONE;
|
||||
point->out_dir = (FT_Char)AF_DIR_NONE;
|
||||
|
||||
point->fx = (FT_Short)vec->x;
|
||||
point->fy = (FT_Short)vec->y;
|
||||
point->ox = point->x = FT_MulFix( vec->x, x_scale ) + x_delta;
|
||||
|
|
Loading…
Reference in New Issue