ref: 70d6f38ed21582305cd1499718e45f4b33bb4eb2
parent: 3798110fc7cbeb16e452578ec19b17441a0dd4fb
author: Tom Kacvinsky <[email protected]>
date: Mon Mar 19 08:44:15 EST 2001
Change units per EM assignment in cff_parse_font_bbox().
--- 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 )
{