From 0eb657b0aa2dedff861805311504dd16ea833f22 Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Tue, 31 Aug 2010 13:29:05 +0900 Subject: [PATCH] [truetype] Decrease the trace level catching the interpreter error. * src/truetype/ttinterp.c (TT_RunIns): Decrease the trace level showing the error when the interpreter returns with an error, from FT_TRACE7() to FT_TRACE1(). --- ChangeLog | 8 ++++++++ src/truetype/ttinterp.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f0e03d84a..5037ec3bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-08-31 suzuki toshiya + + [truetype] Decrease the trace level catching the interpreter error. + + * src/truetype/ttinterp.c (TT_RunIns): Decrease the trace level + showing the error when the interpreter returns with an error, + from FT_TRACE7() to FT_TRACE1(). + 2010-08-30 suzuki toshiya [truetype] Prevent bytecode reuse after the interpretation error. diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c index e38d3a88d..bbe82e396 100644 --- a/src/truetype/ttinterp.c +++ b/src/truetype/ttinterp.c @@ -8167,7 +8167,7 @@ /* it should not be used for next interpretation. */ if ( CUR.error ) { - FT_TRACE7(( " The interpreter got an error = %d\n", CUR.error )); + FT_TRACE1(( " The interpreter got an error = %d\n", CUR.error )); free_buffer_in_size( exc ); exc->size->cvt_ready = FALSE; exc->size->bytecode_ready = FALSE;