[Fontconfig] Creating cachedir

Josselin Mouette joss at debian.org
Tue Dec 20 00:36:48 PST 2005


Le lundi 19 décembre 2005 à 21:45 -0500, Patrick Lam a écrit :
> > 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.
> 
> In that case, the directory effectively won't have a per-directory cache
> if the one in the font dir is stale.  This is not a big disaster, as
> fontconfig will simply place that directory in the global cache.  It's
> suboptimal, to be sure, but I can't think of a better solution.

Indeed, it just means the package maintainers will have to clean the
stale cache files in the post-installation scripts.

Regards,
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette at ens-lyon.org
`. `'                        joss at debian.org
   `-  Debian GNU/Linux -- The power of freedom



More information about the Fontconfig mailing list