Re: Bug in fc-cat with user cache

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

 



Frederic Crozat <fcrozat@xxxxxxxxxxxx> さんは書きました:

> Hi all, 
>
> while testing fontconfig 2.3.93, I found a bug in fc-cat :
>
> if you run :
> fc-cat ~/.font.cache-2 (you need to have such a file), you will get
> incorrect output :
>
> fc-cat: printing directory cache contents for dir <random junk here>
>
> then :
> fc-cat: printing global cache contents for
> dir /usr/X11R6/lib/X11/fonts/100dpi
> "/home/a/UTFBI__10-ISO8859-1.pcf.gz" ....
>
> the basename of the cache file is printed to generate font path instead
> of the font directory.

Yes, I can reproduce that.

When I call "fc-cat .fonts.cache-2" while ~ is the current directory

    fc-cat: printing directory cache contents for dir   23fb17 78563412    1    8    4
    20   10    8   18    4   10   10    4    8   20    8    8    2   20    4   30 1000

    fc-cat: printing global cache contents for dir /usr/X11R6/lib/X11/fonts/truetype
    "./SUETTER.TTF" ...

And when I call it as "fc-cat ~/.fonts.cache-2" (current directory
doesn't matter):

    fc-cat: printing directory cache contents for dir   23fb17 78563412    1    8    4
    20   10    8   18    4   10   10    4    8   20    8    8    2   20    4   30 1000

    fc-cat: printing global cache contents for dir /usr/X11R6/lib/X11/fonts/truetype
    "/home/mfabian/SUETTER.TTF" ...

-- 
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