formatting, copyright year
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 43 44 45 46
diff --git a/ChangeLog b/ChangeLog
index 75ddb56..b4c65c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,8 @@
2006-03-27 David Turner <david@freetype.org>
- * src/sfnt/ttkern.c (tt_face_get_kerning): fixed a serious bug
- that caused some programs to go into an infinite loop when dealing
- with fonts that don't have a properly sorted kerning sub-table
+ * src/sfnt/ttkern.c (tt_face_get_kerning): Fix a serious bug that
+ causes some programs to go into an infinite loop when dealing with
+ fonts that don't have a properly sorted kerning sub-table.
2006-03-26 Werner Lemberg <wl@gnu.org>
diff --git a/src/sfnt/ttkern.c b/src/sfnt/ttkern.c
index e264271..30f6cdb 100644
--- a/src/sfnt/ttkern.c
+++ b/src/sfnt/ttkern.c
@@ -5,7 +5,7 @@
/* Load the basic TrueType kerning table. This doesn't handle */
/* kerning data within the GPOS table at the moment. */
/* */
-/* Copyright 1996-2001, 2002, 2003, 2004, 2005 by */
+/* Copyright 1996-2001, 2002, 2003, 2004, 2005, 2006 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@@ -248,6 +248,7 @@
{
FT_UInt count2;
+
for ( count2 = num_pairs; count2 > 0; count2-- )
{
FT_ULong key = FT_NEXT_ULONG( p );
@@ -265,7 +266,7 @@
break;
/*
- * We don't support format 2 because we've never seen a single font
+ * We don't support format 2 because we haven't seen a single font
* using it in real life...
*/