[truetype] Fix formatting and typo.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
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;
}