diff options
Diffstat (limited to 'src/truetype/ttgload.c')
-rw-r--r-- | src/truetype/ttgload.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c index d214f877a..2fc3eca2d 100644 --- a/src/truetype/ttgload.c +++ b/src/truetype/ttgload.c @@ -1083,14 +1083,11 @@ { FT_Vector* u = unrounded; - FT_Fixed xs = x_scale >> 6; - FT_Fixed ys = y_scale >> 6; - for ( ; vec < limit; vec++, u++ ) { - vec->x = FT_MulFix( u->x, xs ); - vec->y = FT_MulFix( u->y, ys ); + vec->x = ( FT_MulFix( u->x, x_scale ) + 32 ) >> 6; + vec->y = ( FT_MulFix( u->y, y_scale ) + 32 ) >> 6; } } else |