<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 --- - Never drop first font when trimming"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72380">bug 72380</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 --- - Never drop first font when trimming"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72380#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Never drop first font when trimming"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=72380">bug 72380</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=72380#c1">comment #1</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=72380#c0">comment #0</a>)
> > We always advertise that FcFontMatch() returns the first item from
> > FcFontSort().

> How is FcFontMatch() is relevant to that?</span >

What I said.  We always advertise that FcFontMatch() returns the same font that
is at the top of the list of FcFontSort().  Pango relies on that for example. 
I believe Qt does too.


<span class="quote">> I think it do more with the
> intelligent way than FcFontSort() because it checks the language coverage
> for the first font in the list.</span >

Correct.


<span class="quote">> >               This isn't true if the first font in the sort list has no
> > character coverage and trimming is enabled.  This happens with symbol.ttf
> > since it has no usable cmap table.  We should fix this by never trimming the
> > first font in the list.

> I guess you are talking about FcFontSort() since FcFontMatch() doesn't have
> a feature to trim the list. so the suggestion may be to check the language
> coverage for the first font in the list as well as FcFontMatch() ?</span >

No.  My suggestion is the other way around: to never trim the first font in
FcFontSort().  I'll attach a patch.</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>