shithub: freetype+ttf2subf

Download patch

ref: 26160d5b2c138f19aa2e862b973bd7c6c4ffd874
parent: bcf8d4b497b691294c9f3975af66940bbecb1907
author: David Turner <[email protected]>
date: Thu Aug 30 02:56:03 EDT 2001

fixed Type1 kerning flag setting when reading AFM file

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-30  Anthony Feik  <[email protected]>
+
+	* 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  <[email protected]>
 
 	* src/sfnt/ttload.c (TT_Load_CMap): Fix frame length of
--- 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 ) )