shithub: freetype+ttf2subf

Download patch

ref: bfc20c76eb8da5a85ff4661a963b37e7b027ba1d
parent: 34d2818a75201faedd79fb880d054085fe38928a
author: Werner Lemberg <[email protected]>
date: Tue Sep 27 13:35:09 EDT 2011

Fix Savannah bug #34189.

* src/type1/t1load.c (T1_Open_Face): Initialize
`face->len_buildchar'.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-09-27  Simon Bünzli  [email protected]
+
+	Fix Savannah bug #34189.
+
+	* src/type1/t1load.c (T1_Open_Face): Initialize
+	`face->len_buildchar'.
+
 2011-09-26  Werner Lemberg  <[email protected]>
 
 	[cff] Dump SIDs while tracing.
--- a/src/type1/t1load.c
+++ b/src/type1/t1load.c
@@ -896,7 +896,7 @@
   }
 
 
-#endif /* T1_CONFIG_OPTION_NO_MM_SUPPORT */
+#endif /* !T1_CONFIG_OPTION_NO_MM_SUPPORT */
 
 
 
@@ -2140,8 +2140,10 @@
         }
       }
     }
+    else
+      face->len_buildchar = 0;
 
-#endif /* T1_CONFIG_OPTION_NO_MM_SUPPORT */
+#endif /* !T1_CONFIG_OPTION_NO_MM_SUPPORT */
 
     /* now, propagate the subrs, charstrings, and glyphnames tables */
     /* to the Type1 data                                            */