Change units per EM assignment in cff_parse_font_bbox().

david-pic-changes
Tom Kacvinsky 24 years ago
parent 3798110fc7
commit 70d6f38ed2
  1. 3
      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 )
{

Loading…
Cancel
Save