freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] Speed regression in ArialUnicode with bytecode interpreter


From: Boris Letocha
Subject: [ft] Speed regression in ArialUnicode with bytecode interpreter
Date: Wed, 18 Apr 2007 13:19:22 +0200

Hi,

 

Problem is that cvt_ready is never set to 1, because of that a lot of bytecode is run for each glyph.

Possible fix could be in truetype/ttobjs.c:

@@ -694,6 +694,7 @@

       size->GS = tt_default_graphics_state;

 

       error = tt_size_run_prep( size );

+      size->cvt_ready=1;

     }

   Exit:

     return error;

 

Or even add test to do it only in case of success of tt_size_run_prep.

 

Regards,

 

Boris Letocha

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]