[Fontconfig] Re: Bug in fc-cat with user cache
Mike FABIAN
mfabian at suse.de
Thu Jan 5 04:25:12 PST 2006
Frederic Crozat <fcrozat at mandriva.com> さんは書きました:
> 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 at suse.de> http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
More information about the Fontconfig
mailing list