Re: delay at pango startup



On Sun, 2006-12-17 at 14:27 -0500, Ralf Stephan wrote:
> 
> My question: which function to call to initialize pango such that
> this delay will no longer show for the app's lifetime? 

This is most probably time spent in fontconfig.  You can try creating a
dummy layout with some text in it and ask for its extents, to force
loading some fontsets, etc., but in general, there is no Pango
initialization function (nor can one be written, as it depends on text
you want to render).

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759






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