Commit a8b45e6183551f9836e085d4759e3b7dcd93a5ab

David Turner 2007-05-11T14:10:30

fix a typo that force CVT scaling to be re-run on each glyph load

diff --git a/ChangeLog b/ChangeLog
index 8542cbb..492614d 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 <b.letocha@cz.gmc.net>
+
+	* src/truetype/ttobjs.c: fix a typo that created a speed regression
+	in the TrueType bytecode loader
+
 2007-04-10  Martin Horak  <horakm@centrum.cz>
 
 	* src/sfnt/sfobjs.c (sfnt_load_face) [FT_CONFIG_OPTION_INCREMENTAL]:
diff --git a/src/truetype/ttobjs.c b/src/truetype/ttobjs.c
index a1a1cbb..57c197e 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;