forked from minhngoc25a/freetype2
[truetype/GX] Fix an old typo.
* src/truetype/ttgxvar.c (TT_Vary_Apply_Glyph_Deltas): Vertical advance is measured along y-coordinate.
This commit is contained in:
parent
9c706dcca7
commit
d9b8a69e9a
|
@ -4259,8 +4259,8 @@
|
|||
loader->linear = FT_PIX_ROUND( unrounded[n_points - 3].x -
|
||||
unrounded[n_points - 4].x ) / 64;
|
||||
if ( !( face->variation_support & TT_FACE_FLAG_VAR_VADVANCE ) )
|
||||
loader->vadvance = FT_PIX_ROUND( unrounded[n_points - 1].x -
|
||||
unrounded[n_points - 2].x ) / 64;
|
||||
loader->vadvance = FT_PIX_ROUND( unrounded[n_points - 1].y -
|
||||
unrounded[n_points - 2].y ) / 64;
|
||||
|
||||
Fail3:
|
||||
FT_FREE( point_deltas_x );
|
||||
|
|
Loading…
Reference in New Issue