Commit c24eff8d83fe25629986477c1ad5ede939db8881

Tom Kacvinsky 2001-03-17T19:01:25

Another minor typo fix in cff_parse_font_bbox().

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/src/cff/cffparse.c b/src/cff/cffparse.c
index f2438a7..3f4dabc 100644
--- 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;
     }