[Fontconfig] fc-cache for x86 deletes caches for x86_64
Mike FABIAN
mfabian at suse.de
Mon Oct 23 02:15:02 PDT 2006
Example (using a x86_64 machine which has a 64-bit fc-cache
*and* a 32bit fc-cache called "fc-cache32"):
mfabian at magellan:~$ uname -a
Linux magellan 2.6.18-rc4-2-default #1 Tue Aug 8 09:58:49 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux
mfabian at magellan:~$
Start with no caches at all:
mfabian at magellan:~$ ls /var/cache/fontconfig/
mfabian at magellan:~$ ls .fontconfig
mfabian at magellan:~$
Run the 64-bit version of fc-cache:
mfabian at magellan:~$ fc-cache -v /usr/share/fonts/truetype
/usr/share/fonts/truetype: caching, 911 fonts, 0 dirs
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/mfabian/.fontconfig: cleaning cache directory
fc-cache: succeeded
mfabian at magellan:~$
The 64-bit cache has been created:
mfabian at magellan:~$ ls /var/cache/fontconfig/
mfabian at magellan:~$ ls .fontconfig
7ef2298fde41cc6eeb7af42e48b7d293-x86-64.cache-2
mfabian at magellan:~$
Now run the 32-bit version of fc-cache:
mfabian at magellan:~$ fc-cache32 -v /usr/share/fonts/truetype
/usr/share/fonts/truetype: caching, 911 fonts, 0 dirs
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/mfabian/.fontconfig: cleaning cache directory
/home/mfabian/.fontconfig: 7ef2298fde41cc6eeb7af42e48b7d293-x86-64.cache-2: missing directory: ú¼ fc-cache32: succeeded
mfabian at magellan:~$
There was a strange error message at the end.
And the 64-bit cache is gone now:
mfabian at magellan:~$ ls /var/cache/fontconfig/
mfabian at magellan:~$ ls .fontconfig
7ef2298fde41cc6eeb7af42e48b7d293-x86.cache-2
mfabian at magellan:~$
That's not right, fc-cache should not touch the cache files
for different architectures.
--
Mike FABIAN <mfabian at suse.de> http://www.suse.de/~mfabian
ç¡ç ä¸è¶³ã¯ããä»äºã®æµã ã
More information about the Fontconfig
mailing list