From a8b45e6183551f9836e085d4759e3b7dcd93a5ab Mon Sep 17 00:00:00 2001 From: David Turner Date: Fri, 11 May 2007 14:10:30 +0000 Subject: [PATCH] fix a typo that force CVT scaling to be re-run on each glyph load --- ChangeLog | 5 +++++ src/truetype/ttobjs.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8542cbb4..492614df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -43,6 +43,11 @@ * src/base/ftglyph.c (FT_Glyph_Copy): Always set second argument to zero in case of error. This fixes Savannah bug #19689. +2007-04-25 Boris Letocha + + * src/truetype/ttobjs.c: fix a typo that created a speed regression + in the TrueType bytecode loader + 2007-04-10 Martin Horak * src/sfnt/sfobjs.c (sfnt_load_face) [FT_CONFIG_OPTION_INCREMENTAL]: diff --git a/src/truetype/ttobjs.c b/src/truetype/ttobjs.c index a1a1cbb7..57c197e1 100644 --- a/src/truetype/ttobjs.c +++ b/src/truetype/ttobjs.c @@ -693,6 +693,8 @@ size->GS = tt_default_graphics_state; error = tt_size_run_prep( size ); + if (!error) + size->cvt_ready = 1; } Exit: return error;