[Fontconfig-bugs] [Bug 90148] New: Don't warn if cachedir isn't specified

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 22 16:12:55 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90148

            Bug ID: 90148
           Summary: Don't warn if cachedir isn't specified
           Product: fontconfig
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: library
          Assignee: fontconfig-bugs at lists.freedesktop.org
          Reporter: freedesktop at behdad.org
        QA Contact: freedesktop at behdad.org

If user has specified config file, don't warn about missing cachedir.  As an
app that wants to load only custom fonts, I can add a minimal config file like
this:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
        <dir>../fonts</dir>
        <cachedir prefix="xdg">fontconfig</cachedir>
</fontconfig>

but really, I don't care about cachedir.  Since caching is safe (it takes care
of stale caches etc), user should be able to leave it out.

Warning about default config not having cachedir is different.  Even then I'm
not sure it's a good idea.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20150422/c82a8a04/attachment.html>


More information about the Fontconfig-bugs mailing list