[cairo] Initial invocation of cairo_text_extents is extremely slow

xin an chen xinanchen888 at yahoo.com
Mon Oct 5 18:37:08 PDT 2009

Hi, All,
     I have one situation as follows:

(1)	In my program, the initial invocation of cairo function:


              is extremely slow, sometimes it takes about 60 seconds for this function to return;

(2)	After the initial invocation of cairo_text_extents, any subsequent invocation of this
method becomes very fast, it returns in less than 1 second.

     Why cairo_text_extents behaviors like this? Is there any way to solve this problem?

Thanks very much,




More information about the cairo mailing list