Around 17 o'clock on Nov 2, David Bishop wrote:

> I was under the impression that I had a comparable number of fonts on both
> machines, however it looks like I was mistaken.  I have over 1200 ttf alone
> on my work machine, and *none* on my home machine (though still some AA'able
> ones).  I will see if I can dog-down my home box as well :-)

That's a few fonts...  You can run xftcache in the directories holding 
those fonts to build XftCache files; that's a bit more efficient at 
startup time than the automatic ~/.xftcache file Xft builds for missing 
fonts.

You can make sure the cache is working by running:

$ export XFT_DEBUG=128
$ xterm -fa mono-14

If this generates any output, you've got caching enabled.

I've done some performance analysis with several thousand fonts installed 
and haven't found any significant problems, once I got the name cache 
working.  But, Xft does perform a best-match each time a font is 
requested, that is currently done by comparing against every available 
font.  I'd like to avoid replacing that with a smarter search; such code 
is likely to be difficult to get working correctly.

[EMAIL PROTECTED]        XFree86 Core Team              SuSE, Inc.


_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to