shithub: freetype+ttf2subf

Download patch

ref: 72eb270ac71e8c76e7aefc9a8d3a39fb510602f1
parent: 45489589adb5e01cd2c8951dded6dced5bf7ef6e
author: Suzuki, Toshiya (鈴木俊哉) <[email protected]>
date: Sat Oct 4 13:49:58 EDT 2008

* Remove wrong initialization in `ft_lookup_PS_in_sfnt_stream'

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-04  suzuki toshiya  <[email protected]>
+
+	* src/base/ftobjs.c (ft_lookup_PS_in_sfnt_stream): Remove wrong
+	initialization of *is_sfnt_cid.
+
 2008-10-04  Werner Lemberg  <[email protected]>
 
 	* src/base/ftobjs.c (open_face_PS_from_sfnt_stream): Remove compiler
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -1339,10 +1339,9 @@
 
     *offset = 0;
     *length = 0;
+    *is_sfnt_cid = FALSE;
 
-    *is_sfnt_cid = TRUE;
     /* TODO: support for sfnt-wrapped PS/CID in TTC format */
-    *is_sfnt_cid = FALSE;
 
     /* version check for 'typ1' (should be ignored?) */
     if ( FT_READ_ULONG( tag ) )