Experimental fix for double adjustment of advance.

This commit is contained in:
Dave Arnold 2016-11-18 18:02:10 -08:00
parent 8dba6305da
commit 410ff09eb6
1 changed files with 6 additions and 1 deletions

View File

@ -2510,7 +2510,12 @@ Exit:
FT_Pos delta_y = FT_MulFix( deltas_y[j], apply );
outline->points[j].x += delta_x;
/* experimental fix for double adjustment of advance width */
/* adjust phantom point 2 only if there's no HVAR */
/* TODO: handle LSB (pp1) and VVAR (pp3, pp4) too */
if ( j != ( n_points - 3 ) || blend->hvar_checked == FALSE )
outline->points[j].x += delta_x;
outline->points[j].y += delta_y;
#ifdef FT_DEBUG_LEVEL_TRACE