shithub: freetype+ttf2subf

Download patch

ref: c24eff8d83fe25629986477c1ad5ede939db8881
parent: b2712e2ef506051d684ee025ffff10dd3d4df2b2
author: Tom Kacvinsky <[email protected]>
date: Sat Mar 17 14:01:25 EST 2001

Another minor typo fix in cff_parse_font_bbox().

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/cff/cffparse.c
+++ b/src/cff/cffparse.c
@@ -374,10 +374,10 @@
 
     if ( parser->top >= parser->stack + 4 )
     {
-      bbox->xMin = FT_Round_Fix( cff_parse_fixed( data++ ) );
-      bbox->yMin = FT_Round_Fix( cff_parse_fixed( data++ ) );
-      bbox->xMax = FT_Round_Fix( cff_parse_fixed( data++ ) );
-      bbox->yMax = FT_Round_Fix( cff_parse_fixed( data   ) );
+      bbox->xMin = FT_RoundFix( cff_parse_fixed( data++ ) );
+      bbox->yMin = FT_RoundFix( cff_parse_fixed( data++ ) );
+      bbox->xMax = FT_RoundFix( cff_parse_fixed( data++ ) );
+      bbox->yMax = FT_RoundFix( cff_parse_fixed( data   ) );
       error = CFF_Err_Ok;
     }