[Fontconfig] Creating cachedir

Josselin Mouette joss at debian.org
Mon Dec 19 12:19:41 PST 2005

Le lundi 12 décembre 2005 à 08:45 -0500, Patrick Lam a écrit :
> How about just: if you can't create the cache file in 
> /var/cache/fontconfig, then create it in its original location?  Then 
> when we try to open a cache file, we obviously need to try the original 
> location first.  This is not quite as good as separating per-user and 
> root caches, but it may be good enough.  Comments?

This may become problematic if a cache file already exists in the font
directory. In this case, a new cache file will be created in /var/cache,
but won't be used as the other location is tried first.

 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette at ens-lyon.org
`. `'                        joss at debian.org
  `-  Debian GNU/Linux -- The power of freedom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20051219/8b468215/attachment.pgp

More information about the Fontconfig mailing list