From a3690cdadd5bb8fb0ddfa194124d9808a85d1b7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wu=2C=20Chia-I=20=28=E5=90=B3=E4=BD=B3=E4=B8=80=29?= Date: Tue, 6 Dec 2005 08:24:01 +0000 Subject: [PATCH] * src/truetype/ttobjs.c (tt_size_init): size->ttmetrics.valid is initialized twice. size->strike_index is not initialized. --- ChangeLog | 6 ++++++ src/truetype/ttobjs.c | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b71331b73..d65920f16 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-12-06 Chia-I Wu + + * src/truetype/ttobjs.c (tt_size_init): size->ttmetrics.valid is + initialized twice. + size->strike_index is not initialized. + 2005-12-02 Taek Kwan(TK) Lee * src/type42/t42objs.x (T42_Face_Init): Replace call to diff --git a/src/truetype/ttobjs.c b/src/truetype/ttobjs.c index e73efb6ae..ab18160d4 100644 --- a/src/truetype/ttobjs.c +++ b/src/truetype/ttobjs.c @@ -507,8 +507,6 @@ TT_MaxProfile* maxp = &face->max_profile; - size->ttmetrics.valid = FALSE; - size->max_function_defs = maxp->maxFunctionDefs; size->max_instruction_defs = maxp->maxInstructionDefs; @@ -587,6 +585,7 @@ #endif /* TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ size->ttmetrics.valid = FALSE; + size->strike_index = 0xFFFFU; return error; }