Commit bc2c49841908f8716c1adae3cbdcad647f8d5301

Suzuki, Toshiya (鈴木俊哉) 2008-10-03T12:28:52

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

diff --git a/ChangeLog b/ChangeLog
index 83b032b..d784856 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-10-03  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
 
+	* 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  <mpsuzuki@hiroshima-u.ac.jp>
+
 	* 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.
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index 3ae5a85..b799a31 100644
--- 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;
   }