On Mon, 2005-07-25 at 00:15 -0400, Patrick Lam wrote: > Currently it writes the mmap file to /tmp, but this will change soon. I > noticed that currently fontconfig writes cache files to directories > containing fonts, plus a global one on a per-user basis in > ~/.fonts.cache. Is there an appropriate place to put a global cache file? I was thinking we'd continue to use per-directory caches unless you don't think that will work. The reason here is that each user can add directories to the set, and having only a global cache means that everyone would have a ~/.fonts.cache-2 file. Right now, the local caches are significantly more expensive to use as many additional stat(2) calls are needed to validate the cache. If we need a single global cache, it would need to live in /var somewhere, which is something of a pain as there isn't strong concensus on what /var should look like these days. A quick read through the LSB might provide some suggestions. -keith
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ fontconfig mailing list fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig