On 1/10/06, Padraig O'Briain <[EMAIL PROTECTED]> wrote:
> I have dug deeper and found that indeed FcFontSort seems to be the
> culprit. This function is called twice for each call to
> pango_layout_line_get_extents and each call costs about 17 ms.

I only see the two FcFontSort() calls on the very first invokation of
pango_layout_line_get_extents(). Later calls use the cached fontsets.
The two invokations are because we are first calling
pango_font_map_load_fontset() for "Sans 10" and then later call
it again for "Bitstream Vera Sans 9.9990234375". The second one
looks slightly wrong to me, it should probably be "Sans 10" again...

Matthias
_______________________________________________
Performance-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/performance-list

Reply via email to