Article 548J0 firefox emoji are black and white

firefox emoji are black and white

by
linuxUser247
from LinuxQuestions.org on (#548J0)
hello,

I am using Ubuntu 19.10.

For Firefox on many websites emoji appear black and white instead of coloured. Same are coloured in Google Chrome.

Here is an example: https://en.wikipedia.org/wiki/List_of_emoticons

Supplemental Images all appear coloured, on Emoticons only 20% are coloured.

This is what appears in Firefox Debugging tools:

Code:Fonts Used DejaVu Sans
DejaVu Sans Bold Oblique

Noto Color Emoji
Noto Color Emoji
The correct fonts are applied to emoji:

Code:fc-match 'EmojiOne'NotoColorEmoji.ttf: "Noto Color Emoji" "Regular"

Code:fc-match 'EmojiOne Color'NotoColorEmoji.ttf: "Noto Color Emoji" "Regular"

However, I think that DejaVu takes precedence over Noto. I tried to change that:

Code:<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Noto Color Emoji</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Noto Color Emoji</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Noto Color Emoji</family>
</prefer>
</alias>

<match target="pattern">
<test name="prgname">
<string>firefox</string>
</test>
<edit name="family" mode="prepend_first">
<string>Noto Color Emoji</string>
</edit>
</match>
</fontconfig>reloaded the fontcache and restarted firefox. It did not solve the problem.

I don't know how to further debug, I don't understand enough about font configurations. I would appreciate some help, thank you!

BTW, Mozilla Thunderbird works perfectly with Emoji! :scratch:latest?d=yIl2AUoC8zA latest?i=JEy4sIPyGj8:uKf1-RxBXls:F7zBnMy latest?i=JEy4sIPyGj8:uKf1-RxBXls:V_sGLiP latest?d=qj6IDK7rITs latest?i=JEy4sIPyGj8:uKf1-RxBXls:gIN9vFwJEy4sIPyGj8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments