Commit 6a126e14c4cd128b53e865a24480c9b144d3a25a

Alexei Podtelezhnikov 2012-11-28T23:32:02

[truetype] Fix formatting and typo.

diff --git a/ChangeLog b/ChangeLog
index d1be2ad..a3868fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-11-28  Alexei Podtelezhnikov  <apodtele@gmail.com>
+
+	[truetype] Fix formatting and typo.
+
 2012-11-27  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
 	[cid, type1, type42] Clean up units_per_EM calculations.
@@ -6,7 +10,6 @@
 	* src/type1/t1load.c (t1_parse_font_matrix): Updated.
 	* src/type42/t42parse.c (t42_parse_font_matrix): Updated.
 
-
 2012-11-27  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
 	[ftstroke] Minor improvement.
diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c
index 765d323..37b5725 100644
--- a/src/truetype/ttinterp.c
+++ b/src/truetype/ttinterp.c
@@ -6713,7 +6713,7 @@
          ( CUR.opcode & 16 ) == 0                               &&
          ( CUR.opcode & 8 ) == 0                                &&
          ( CUR.sph_tweak_flags & SPH_TWEAK_COURIER_NEW_2_HACK ) )
-      distance +=64;
+      distance += 64;
 #endif /* TT_CONFIG_OPTION_SUBPIXEL_HINTING */
 
     CUR_Func_move( &CUR.zp1, point, distance - cur_dist );
@@ -6739,7 +6739,7 @@
       if ( ( CUR.sph_tweak_flags &
              SPH_TWEAK_DELTAP_SKIP_EXAGGERATED_VALUES ) &&
            !reverse_move                                &&
-           abs ( B1 - B2 ) >= 64                        )
+           FT_ABS( B1 - B2 ) >= 64                      )
         reverse_move = TRUE;
     }