Change units per EM assignment in cff_parse_font_bbox().

This commit is contained in:
Tom Kacvinsky 2001-03-19 13:44:15 +00:00
parent 3798110fc7
commit 70d6f38ed2
1 changed files with 2 additions and 1 deletions

View File

@ -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 )
{