shithub: freetype+ttf2subf

Download patch

ref: a8b45e6183551f9836e085d4759e3b7dcd93a5ab
parent: 94be20ea8243b5118b0f0720aa09dce33aa51ed6
author: David Turner <[email protected]>
date: Fri May 11 10:10:30 EDT 2007

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

git/fs: mount .git/fs: mount/attach disallowed
--- 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 <[email protected]>
+
+	* src/truetype/ttobjs.c: fix a typo that created a speed regression
+	in the TrueType bytecode loader
+
 2007-04-10  Martin Horak  <[email protected]>
 
 	* src/sfnt/sfobjs.c (sfnt_load_face) [FT_CONFIG_OPTION_INCREMENTAL]:
--- 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;