[Fontconfig] Status about fontconfig CVS regarding cache handling

Patrick Lam plam at MIT.EDU
Tue Jan 31 11:10:42 PST 2006

Matthias Clasen wrote:
> I noticed that running fc-cache as user does not update or recreate
> directory cache files in $HOME/.fonts, although I do have ~/.fonts in
> fonts.conf. Explicitly running fc-cache $HOME/.fonts does, though.

So I noticed this behaviour:

1. sudo fc-cache
2. get /var/cache/fontconfig cache for $HOME/.fonts which is owned by
root; fc-cache as user then cannot remove /var/cache/fontconfig cache (eek)
3. fc-cache as user fails to remove /var/cache/fontconfig cache for
.fonts, but updates the .fonts directory, so that the
/var/cache/fontconfig cache is now stale.
4. fc-cache as user then succeeds.

If there is no /var/cache/fontconfig cache for $HOME/.fonts then
everything should be fine.

> Once the caches in $HOME/.fonts were updated, fc-list : stopped creating
> the global cache.

Right, there should be no need to do so.


More information about the Fontconfig mailing list