shithub: freetype+ttf2subf

Download patch

ref: bc2c49841908f8716c1adae3cbdcad647f8d5301
parent: 9e2b9900dc5d764c31f8c9ae998a0f94f5c4d3b5
author: Suzuki, Toshiya (鈴木俊哉) <[email protected]>
date: Fri Oct 3 08:28:52 EDT 2008

* src/base/ftobjs.c (ft_lookup_PS_in_sfnt): Set *is_sfnt_cid to FALSE when no PS resource is found

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-10-03  suzuki toshiya  <[email protected]>
 
+	* src/base/ftobjs.c (ft_lookup_PS_in_sfnt): Set *is_sfnt_cid
+	to FALSE when neither `CID ' nor `TYP1' is found in the sfnt
+	container.
+
+2008-10-03  suzuki toshiya  <[email protected]>
+
 	* include/freetype/config/ftconfig.h: Define FT_MACINTOSH when
 	SC or MrC compiler of MPW is used. These compilers do not
 	define the macro __APPLE__ by themselves.
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -1365,6 +1365,7 @@
 
     *offset = 0;
     *length = 0;
+    *is_sfnt_cid = FALSE;
     return FT_Err_Invalid_Table;
   }