[Fontconfig] confused about semantics of $HOME/.fonts.cache-2

Matthias Clasen mclasen at redhat.com
Wed Jan 25 09:59:03 PST 2006


Can somebody update me about the intended semantics of
$HOME/.fonts.cache-2. Why do we need it, when there are caches for
all font directories in /var/cache/fontconfig and in $HOME/.fonts ?

I am also puzzled by this behaviour:

$ rm $HOME/.fonts.cache-2
$ fc-list :

[long font listing]

$ ls -l .fonts.cache-2
-rw------- 1 mclasen mclasen 141434 Jan 25 12:57 .fonts.cache-2

$ fc-cat .fonts.cache-2 | wc -l
144

$ touch /usr/share/fonts/bitstream-vera
$ fc-list :

[ long font listing]

$ ls -l .fonts.cache-2
-rw------- 1 mclasen mclasen 32768 Jan 25 12:58 .fonts.cache-2

$ fc-cat .fonts.cache-2 | wc -l
0


What is going on here ?


Matthias



More information about the Fontconfig mailing list