<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Make fontconfig scanning faster"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64766#c21">Comment # 21</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Make fontconfig scanning faster"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64766">bug 64766</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 <a href="show_bug.cgi?id=64766#c20">comment #20</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=64766#c19">comment #19</a>)
> > I suggest we remove the "load every glyph to check the outline is not empty"
> > part of fontconfig.
> > 
> > There are very legitimate uses of such empty glyphs in fonts that have GSUB.
> > 
> > Akira, do you agree?  This should give us a huge speedup.  I can work on
> > that.

> If that can be done, that really sounds nice though, how does fontconfig
> estimate the charset coverage then?</span >

Just accept whatever character is mapped in cmap.  The current code does that
but then *also* checks the glyph outline of those mapped glyphs, and rejects
any that has an empty outline, unless it's listed in the <blanks> tag.

I'll ask Keith to comment here, but I'm guessing that 15 years ago bogus fonts
were more common...

Or, we can easily change the code and test lots of fonts to see what kind of
difference this makes at all.</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>