fc-cache for x86 deletes caches for x86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Example (using a x86_64 machine which has a 64-bit fc-cache
*and* a 32bit fc-cache called "fc-cache32"):

    mfabian@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@magellan:~$

Start with no caches at all:

    mfabian@magellan:~$ ls /var/cache/fontconfig/
    mfabian@magellan:~$ ls .fontconfig
    mfabian@magellan:~$

Run the 64-bit version of fc-cache:

    mfabian@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@magellan:~$

The 64-bit cache has been created:

    mfabian@magellan:~$ ls /var/cache/fontconfig/
    mfabian@magellan:~$ ls .fontconfig
    7ef2298fde41cc6eeb7af42e48b7d293-x86-64.cache-2
    mfabian@magellan:~$

Now run the 32-bit version of fc-cache:

    mfabian@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@magellan:~$

There was a strange error message at the end.
And the 64-bit cache is gone now:

    mfabian@magellan:~$ ls /var/cache/fontconfig/
    mfabian@magellan:~$ ls .fontconfig
    7ef2298fde41cc6eeb7af42e48b7d293-x86.cache-2
    mfabian@magellan:~$ 

That's not right, fc-cache should not touch the cache files
for different architectures.

-- 
Mike FABIAN   <mfabian@xxxxxxx>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux