shithub: freetype+ttf2subf

Download patch

ref: 6a126e14c4cd128b53e865a24480c9b144d3a25a
parent: 79180ad049b3e1ecf9f0348fb284d3b49554b568
author: Alexei Podtelezhnikov <[email protected]>
date: Wed Nov 28 18:32:02 EST 2012

[truetype] Fix formatting and typo.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-11-28  Alexei Podtelezhnikov  <[email protected]>
+
+	[truetype] Fix formatting and typo.
+
 2012-11-27  Alexei Podtelezhnikov  <[email protected]>
 
 	[cid, type1, type42] Clean up units_per_EM calculations.
@@ -5,7 +9,6 @@
 	* src/cid/cidload.c (cid_parse_font_matrix): Updated.
 	* src/type1/t1load.c (t1_parse_font_matrix): Updated.
 	* src/type42/t42parse.c (t42_parse_font_matrix): Updated.
-
 
 2012-11-27  Alexei Podtelezhnikov  <[email protected]>
 
--- 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;
     }