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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 12 12:04:04 PDT 2015


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

Behdad Esfahbod <freedesktop at behdad.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freedesktop at behdad.org

--- Comment #2 from Behdad Esfahbod <freedesktop at behdad.org> ---
(In reply to Akira TAGOH from comment #1)
> 
> I'm not sure what's the purpose of the warning/error for that though, if it
> is to detect the installation error,

It might be ok for the system-wide config file.  I suppose the aim is to make
sure systems set global cachedir, as to prevent every user to have their own
cache of all the system fonts.  But we should definitely skip the warning for
custom config files.


> is it a good idea to add an API like FcInitLoadConfigFromMemory()

That API is certainly desirable.

> or so and allow NULL for the configuration?

What's the NULL has to do here?  Oh you mean creating a FcConfig with no
configuration whatsoever?  FcConfigCreate() does that.


> dunno if there are any cases to read it from memory really.

Reading from memory is useful.


> FcInitWithMinimalConfig() or so may be more useful perhaps.
> 
> Any thought?

What would go into the minimal config?

I discussed this in detail in my blog post.  I don't think there's a clear line
between minimal config and full config.

-- 
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/20150512/8fde7442/attachment.html>


More information about the Fontconfig-bugs mailing list