From f09ddd430f2b3cdf040a2fd290c71dec4d1634e7 Mon Sep 17 00:00:00 2001 From: David Turner Date: Thu, 30 Aug 2001 06:56:03 +0000 Subject: [PATCH] fixed Type1 kerning flag setting when reading AFM file --- ChangeLog | 5 +++++ src/type1/t1afm.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index ddad7fe47..1ddab13de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-08-30 Anthony Feik + + * 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 * src/sfnt/ttload.c (TT_Load_CMap): Fix frame length of diff --git a/src/type1/t1afm.c b/src/type1/t1afm.c index 0de560e11..bbed4d26a 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 ) )