* src/sfnt/sfobjs.c (sfnt_load_face): Reactivate code to set FT_FACE_FLAG_KERNING which has been commented out erroneously. * docs/CHANGES: Document it.
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
diff --git a/ChangeLog b/ChangeLog
index ac2fbe3..d76520c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-09-09 Werner Lemberg <wl@gnu.org>
+
+ * src/sfnt/sfobjs.c (sfnt_load_face): Reactivate code to set
+ FT_FACE_FLAG_KERNING which has been commented out erroneously.
+
+ * docs/CHANGES: Document it.
+
2005-09-05 Werner Lemberg <wl@gnu.org>
Fixes for `make multi' and using C++ compiler.
diff --git a/docs/CHANGES b/docs/CHANGES
index abd29cc..4497829 100644
--- a/docs/CHANGES
+++ b/docs/CHANGES
@@ -4,6 +4,8 @@ LATEST CHANGES BETWEEN 2.2.0 and 2.1.10
- Vertical metrics for SFNT fonts were incorrect sometimes.
+ - The FT_HAS_KERNING macro always returned 0.
+
II. IMPORTANT CHANGES
- A new API `FT_TrueTypeGX_Validate' (in FT_GX_VALIDATE_H) has
diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c
index e2d2a17..9e84662 100644
--- a/src/sfnt/sfobjs.c
+++ b/src/sfnt/sfobjs.c
@@ -555,11 +555,9 @@
if ( face->vertical_info )
flags |= FT_FACE_FLAG_VERTICAL;
-#if 0
/* kerning available ? */
if ( TT_FACE_HAS_KERNING( face ) )
flags |= FT_FACE_FLAG_KERNING;
-#endif
#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
/* Don't bother to load the tables unless somebody asks for them. */