<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:freedesktop@behdad.org" title="Behdad Esfahbod <freedesktop@behdad.org>"> <span class="fn">Behdad Esfahbod</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Don't warn if cachedir isn't specified"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90148">bug 90148</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>freedesktop@behdad.org
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Don't warn if cachedir isn't specified"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90148#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Don't warn if cachedir isn't specified"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90148">bug 90148</a>
              from <span class="vcard"><a class="email" href="mailto:freedesktop@behdad.org" title="Behdad Esfahbod <freedesktop@behdad.org>"> <span class="fn">Behdad Esfahbod</span></a>
</span></b>
        <pre>(In reply to Akira TAGOH from <a href="show_bug.cgi?id=90148#c1">comment #1</a>)
<span class="quote">> 
> I'm not sure what's the purpose of the warning/error for that though, if it
> is to detect the installation error,</span >

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.


<span class="quote">> is it a good idea to add an API like FcInitLoadConfigFromMemory()</span >

That API is certainly desirable.

<span class="quote">> or so and allow NULL for the configuration?</span >

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


<span class="quote">> dunno if there are any cases to read it from memory really.</span >

Reading from memory is useful.


<span class="quote">> FcInitWithMinimalConfig() or so may be more useful perhaps.

> Any thought?</span >

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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>