Re: gdmgreeter CPU usage



What version of pango are you using?

Padraig

On Tue, 2006-01-10 at 11:02 -0500, Matthias Clasen wrote:
> On 1/10/06, Padraig O'Briain <Padraig Obriain sun com> 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




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