[Fontconfig] Caching Postscript names

Keith Packard keithp at keithp.com
Sun Jun 8 20:04:57 PDT 2008

On Sun, 2008-06-08 at 22:24 +0400, Evgeniy Stepanov wrote:

> Yes, it was because of cache incompatibility.

There's a version number in the cache file -- you can bump that and it
should re-create/skip cache files with the wrong number.

> Why does the global cache path in fonts.conf come before the one in user home 
> directory? This way fc-cache from user account does absolutely nothing, cache 
> files from .fontconfig are not even opened if there is a file with the same 
> name in system directory.

They're supposed to have precisely the same content, and it's always
better to share across multiple users as these files are mmapped, so
sharing the file means sharing physical pages.

> Sure, even if both patches are correct, it is better to keep cache file 
> compatibility.

Any addition to the list of standard names must be accompanied by a
cache version bump.

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20080608/43c107a6/attachment.pgp 

More information about the Fontconfig mailing list