Commit 26160d5b2c138f19aa2e862b973bd7c6c4ffd874

David Turner 2001-08-30T06:56:03

fixed Type1 kerning flag setting when reading AFM file

diff --git a/ChangeLog b/ChangeLog
index ddad7fe..1ddab13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-30  Anthony Feik  <afeick@hotmail.com>
+
+	* src/type1/t1afm.c (T1_Read_Afm): now correctly sets the flag
+	FT_FACE_FLAG_KERNING when appropriate for Type1 + AFM files..
+
 2001-08-25  Werner Lemberg  <wl@gnu.org>
 
 	* src/sfnt/ttload.c (TT_Load_CMap): Fix frame length of
diff --git a/src/type1/t1afm.c b/src/type1/t1afm.c
index 0de560e..bbed4d2 100644
--- a/src/type1/t1afm.c
+++ b/src/type1/t1afm.c
@@ -202,6 +202,8 @@
     /* save in face object */
     ((T1_Face)t1_face)->afm_data = afm;
 
+    t1_face->face_flags |= FT_FACE_FLAG_KERNING;
+
     for ( p = start; p < limit - 3; p++ )
     {
       if ( IS_KERN_PAIR( p ) )