Patrick Lam <plam@xxxxxxx> さんは書きました: > Frederic Crozat wrote: >> 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 : > > I've just committed a patch for this bug (and another issue I found > while testing this patch). Please let me know if it works. It changes > the format of the ~/.fonts.cache-2 file in a minor (but incompatible) way. It behaves strange for me now: mfabian@magellan:~$ rm -f .fonts.cache-2 mfabian@magellan:~$ fc-match sans hgjgbbmp.ttc: "HGPGothicB" "Regular" mfabian@magellan:~$ ll .fonts.cache-2 -rw------- 1 mfabian suse 4927489 1月 5 17:39 .fonts.cache-2 mfabian@magellan:~$ fc-cat ~/.fonts.cache-2 fc-cat: printing global cache contents for dir /home/mfabian/.fonts/kde-override mfabian@magellan:~$ Allthough the generated file is quite big, fc-cat lists only one line now. This is on an AMD 64 bit machine: mfabian@magellan:~$ uname -a Linux magellan 2.6.15-rc6-git2-2-default #1 Thu Dec 22 14:15:42 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux mfabian@magellan:~$ -- Mike FABIAN <mfabian@xxxxxxx> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。 _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig