[Fontconfig] Re: fc-cache sometimes looses fonts

Keith Packard keithp at keithp.com
Wed Oct 26 08:08:00 EST 2005


On Tue, 2005-10-25 at 17:07 -0400, Patrick Lam wrote:
> James Cloos wrote:
> 
> > when I ran 'fc-cache -fv .' in /usr/local/share/fonts.  Re-running
> > with 'fc-cache -fv /usr/local/share/fonts' got the correct results.
> 
> The responsible code is at fcfreetype.c:1290.  However, I'm not quite
> sure how to fix it: it seems difficult to get a full pathname from a
> filename.  Or I could just store the filename without any pathname
> whatsoever.  Opinions?

As cache files are per-directory, you need only store the local filename
itself.

-keith

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20051025/e5e4687c/attachment.pgp


More information about the Fontconfig mailing list