[Fontconfig] Re: fc-cache sometimes looses fonts

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

 



The problem reported below still exists with todays CVS snapshot of
the fontconfig 2.4 branch.

Do you have any idea how to fix it?


Mike FABIAN <mfabian@xxxxxxx> ????????:

> with todays CVS snapshot of the fontconfig 2.4 branch:
>
>     mfabian@magellan:~/.fonts$ fc-list : family file | grep -i zenkai
>     ./ukai.ttf: AR PL ZenKai Uni
>     mfabian@magellan:~/.fonts$
>     mfabian@magellan:~/.fonts$ ls -li --time-style=full-iso ukai.ttf
>     197011 -rw-r--r--  1 mfabian suse 14296192 2005-10-14 14:47:03.000000000 +0200 ukai.ttf
>     mfabian@magellan:~/.fonts$ ls -lid --time-style=full-iso .
>     5505413 drwxr-xr-x  3 mfabian suse 4096 2005-10-14 14:51:01.000000000 +0200 ./
>     mfabian@magellan:~/.fonts$
>
> Now move the font to a new name and move it back:
>
>     mfabian@magellan:~/.fonts$ mv ukai.ttf ukai-new.ttf
>     mfabian@magellan:~/.fonts$ mv ukai-new.ttf ukai.ttf
>     mfabian@magellan:~/.fonts$ ls -li --time-style=full-iso ukai.ttf
>     197011 -rw-r--r--  1 mfabian suse 14296192 2005-10-14 14:47:03.000000000 +0200 ukai.ttf
>     mfabian@magellan:~/.fonts$ ls -lid --time-style=full-iso .
>     5505413 drwxr-xr-x  3 mfabian suse 4096 2005-10-14 14:52:52.000000000 +0200 ./
>     mfabian@magellan:~/.fonts$
>
> The font still has the same i-node and time stamp and the time-stamp
> of the directory is changed (as expected). Now run "fc-cache -v ."
> again:
>
>     mfabian@magellan:~/.fonts$ fc-cache -v . 
>     fc-cache: ".": caching, 71 fonts, 1 dirs
>     fc-cache: "./kde-override": skipping, 0 fonts, 0 dirs
>     fc-cache: succeeded
>     mfabian@magellan:~/.fonts$
>
> And now the font appears to be gone:
>
>     mfabian@magellan:~/.fonts$ fc-list : family file | grep -i zenkai
>     mfabian@magellan:~/.fonts$
>
> With fontconfig 2.3.2, the font was still available at this point!
>
> Run fc-cache once more adding the force option:
>
>     mfabian@magellan:~/.fonts$ fc-cache -v -f . 
>     fc-cache: ".": caching, 71 fonts, 1 dirs
>     fc-cache: "./kde-override": caching, 0 fonts, 0 dirs
>     fc-cache: succeeded
>     mfabian@magellan:~/.fonts$ fc-list : family file | grep -i zenkai
>     ./ukai.ttf: AR PL ZenKai Uni
>     mfabian@magellan:~/.fonts$
>
> Now the font has appeared again.
>
> -- 
> Mike FABIAN   <mfabian@xxxxxxx>   http://www.suse.de/~mfabian
> ?????????????
>
> _______________________________________________
> Fontconfig mailing list
> Fontconfig@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/fontconfig
>

-- 
Mike FABIAN   <mfabian@xxxxxxx>   http://www.suse.de/~mfabian
?????????????



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

  Powered by Linux