diff --git a/src/cff/cffparse.c b/src/cff/cffparse.c index 3f4dabcb2..ec20f3ed1 100644 --- a/src/cff/cffparse.c +++ b/src/cff/cffparse.c @@ -338,7 +338,8 @@ temp = ABS( matrix->yy ); - *upm = (FT_UShort)FT_DivFix( 0x10000L, FT_DivFix( temp, 1000 ) ); + *upm = (FT_UShort)( FT_DivFix( 0x10000L, + FT_DivFix( temp, 1000 ) ) >> 16 ); if ( temp != 0x10000L ) {