<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FcConfigAppFontAddFile equivalent that takes memory or FT_Face"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78450#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FcConfigAppFontAddFile equivalent that takes memory or FT_Face"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78450">bug 78450</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>This might be tricky.  Clients of fontconfig currently only expect
FC_FILE/FC_INDEX.  We would need to update them all to check for the FC_FT_FACE
as well...

Taking FT_Face might not be a good idea.  Taking memory and creating a FT_FACE
every time works.

Alternatively, we can use modern Linux APIs to assign to a piece of memory a
file name.  That might be the least portable but most useful.</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>