<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Provide a means for matching and selecting a color emoji font"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94551#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Provide a means for matching and selecting a color emoji font"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94551">bug 94551</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 Behdad Esfahbod from <a href="show_bug.cgi?id=94551#c9">comment #9</a>)
<span class="quote">> (In reply to Akira TAGOH from <a href="show_bug.cgi?id=94551#c7">comment #7</a>)
> > Most easier way to do this may be to add the sort of this as the
> > configuration:
> > 
> > <match target="scan">
> >   <test name="charset">
> >     <name>charset</name>
> >     <charset>
> >       .....
> >     </charset>
> >   </test>
> >   <test name="color">
> >     <bool>true</bool>
> >   </test>
> >   <edit name="family" mode="append">
> >     <string>emoji</string>
> >   </edit>
> > </match>

> That's an interesting approach indeed!  I'm open to doing that.  Move the
> color test first though, that's faster.</span >

Going down this route I think we should just define emoji as a language and let
the fc-lang facility take care of it.  Then in the config, we can prepend
language emoji if family emoji is requested.  We can also add a test for color
and set it to true if unspecified in the pattern, to prefer color fonts for
emoji.</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>