From bc2c49841908f8716c1adae3cbdcad647f8d5301 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Suzuki=2C=20Toshiya=20=28=E9=88=B4=E6=9C=A8=E4=BF=8A?= =?UTF-8?q?=E5=93=89=29?= Date: Fri, 3 Oct 2008 12:28:52 +0000 Subject: [PATCH] * src/base/ftobjs.c (ft_lookup_PS_in_sfnt): Set *is_sfnt_cid to FALSE when no PS resource is found --- ChangeLog | 6 ++++++ src/base/ftobjs.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 83b032b2a..d78485600 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-03 suzuki toshiya + + * 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 * include/freetype/config/ftconfig.h: Define FT_MACINTOSH when diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index 3ae5a8507..b799a31c4 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; }