Re: The cache fontconfig directory

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

 



Quanah Gibson-Mount wrote:
Is there any way to *not* use/disable the {localstatedir}/fontconfig directory?

We use AFS at Stanford, and I do not want this created or used at all. I tried making this be /var/cache/fontconfig, but this gives me permission denied errors on make install, and in any case, I want to make sure that fontconfig never tries to use whatever directory I set it to.

First of all, {localstatedir}/fontconfig should only be writable by root. Only fc-cache creates files in that directory.

If {localstatedir}/fontconfig does not exist or is not writeable, then fc-cache will write files to the font directories themselves (if it can).

When fontconfig-using applications run and don't find cache information in {localstatedir}/fontconfig or the font directories, they create a per-user cache file which lives in that user's home directory.

You have found a bug in fontconfig in that make install fails if it can't make the {localstatedir}/fontconfig directory. I don't know how to fix that bug, but I'd welcome patches. You just need to find the line where it creates the directory and add a -; the complication is that we go through automake, etc.

pat


_______________________________________________
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