[Fontconfig-bugs] [Bug 94551] Provide a means for matching and selecting a color emoji font
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jul 31 16:48:52 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=94551
--- Comment #10 from Behdad Esfahbod <freedesktop at behdad.org> ---
(In reply to Behdad Esfahbod from comment #9)
> (In reply to Akira TAGOH from comment #7)
> > 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.
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20170731/a4ecff70/attachment.html>
More information about the Fontconfig-bugs
mailing list