[Fontconfig] Re: Bug in fc-cat with user cache
Frederic Crozat
fcrozat at mandriva.com
Mon Jan 16 04:56:52 PST 2006
Le samedi 14 janvier 2006 à 13:30 -0800, Patrick Lam a écrit :
> Mike FABIAN wrote:
> > I made a small one line patch (attached) which seems to fix the
> > problem for me. Is this patch correct?
>
> I don't think it is, but I think I committed a correct patch which
> applies FcConfigNormalizeFontDir consistently now.
Well, it is still incorrect.
Try the following :
rm -rf /var/cache/fontconfig
as simple user, run "xterm -fa sans" => cache is created as
~/.fonts.cache-2 and everything is fine
re-run xterm -fa sans => xterm fallbacks to xfs
using FC_DEBUG=1, you can see file information sent to applications for
fonts are incorrect. For instance :
/usr/share/fonts/DejaVuSans.ttf instead
of /usr/share/fonts/ttf/dejavu/DejaVuSans.ttf
Moreover, both fc-cache . and fc-cache /foo/bar vs fc-cache /foo/bar/
bugs are back.
--
Frederic Crozat <fcrozat at mandriva.com>
Mandriva
More information about the Fontconfig
mailing list