From 72eb270ac71e8c76e7aefc9a8d3a39fb510602f1 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: Sat, 4 Oct 2008 17:49:58 +0000 Subject: [PATCH] * Remove wrong initialization in `ft_lookup_PS_in_sfnt_stream' --- ChangeLog | 5 +++++ src/base/ftobjs.c | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b178e6b64..149f9f246 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-10-04 suzuki toshiya + + * src/base/ftobjs.c (ft_lookup_PS_in_sfnt_stream): Remove wrong + initialization of *is_sfnt_cid. + 2008-10-04 Werner Lemberg * src/base/ftobjs.c (open_face_PS_from_sfnt_stream): Remove compiler diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index 4a4629a53..15afd99d0 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -1339,11 +1339,10 @@ *offset = 0; *length = 0; - - *is_sfnt_cid = TRUE; - /* TODO: support for sfnt-wrapped PS/CID in TTC format */ *is_sfnt_cid = FALSE; + /* TODO: support for sfnt-wrapped PS/CID in TTC format */ + /* version check for 'typ1' (should be ignored?) */ if ( FT_READ_ULONG( tag ) ) return error;