<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Preserve binding when preparing patterns"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90330#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Preserve binding when preparing patterns"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90330">bug 90330</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>Created <span class=""><a href="attachment.cgi?id=115569" name="attach_115569" title="Patch">attachment 115569</a> <a href="attachment.cgi?id=115569&action=edit" title="Patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=90330&attachment=115569'>[review]</a>
Patch

Sample patch attached.  It slightly slows down matching, but should be fine.

We might need to go loosen up some of the binding="same" from
30-metric-aliases.conf after we expose this.

With this patch:

behdad:src 0$ ../fc-match/fc-match 'arial,nazli' --sort --verbose | grep
'family:' | head
    family: "Arial"(s)
    family: "Arial"(s)
    family: "Liberation Sans"(s)
    family: "Nimbus Sans L"(w)
    family: "DejaVu Serif"(w)
    family: "DejaVu Serif"(w)
    family: "DejaVu Serif"(w)
    family: "DejaVu Serif"(w)
    family: "Kinnari"(w)
    family: "Norasi"(w)

without this patch:

ehdad:src 0$ ../fc-match/fc-match 'arial,nazli' --sort --verbose | grep
'family:' | head
    family: "Arial"(s)
    family: "Arial"(s)
    family: "Liberation Sans"(s)
    family: "Nimbus Sans L"(s)
    family: "DejaVu Serif"(s)
    family: "DejaVu Serif"(s)
    family: "DejaVu Serif"(s)
    family: "DejaVu Serif"(s)
    family: "Kinnari"(s)
    family: "Norasi"(s)

check the bindings.</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>