[Webkit-unassigned] [Bug 191976] [FreeType] Noto Color Emoji is partially used

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 28 21:34:34 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=191976

--- Comment #8 from Akira TAGOH <akira at tagoh.org> ---
(In reply to Michael Catanzaro from comment #7)
> No, I still don't understand. Your example shows how to detect if the emoji
> font supports color, but I'm not sure what you suggest doing with that.

Assuming that you have the sort of fonts list with FcPattern (or FcFontSet) from fontconfig by any way and font-family in CSS is set to Arial, sans. they all should have FC_COLOR property in FcPattern. if the target cluster has emoji, you would filter fonts out according to the result of the above function say. then if no fonts available there, which may means no colored emoji fonts is available in sans/serif/mono, you could get a fallback by querying with "emoji" to fontconfig. if people prefers B&W, then you can do choose a font as before.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181129/a805d23e/attachment.html>


More information about the webkit-unassigned mailing list