Le Mon, Mar 21, 2022 at 08:26:48AM +0100, Landry Breuil a écrit : > Le Sun, Mar 20, 2022 at 06:06:52AM +0000, Yifei Zhan a écrit : > > At the moment firefox won't show any colored emoji out of the box, > > despite bundled with Twemoji, firefox is unable to fallback to it by > > default. To force it, we can copy the font to a directory known by > > fontconfig and firefox will use it: > > > > mkdir -p ~/.fonts/twemoji/ > > # replace `firefox` with `firefox-esr` if you are using ESR > > cp /usr/local/lib/firefox/fonts/TwemojiMozilla.ttf ~/.fonts/twemoji/ > > rm -r /home/user/.cache/fontconfig/* > > fc-cache -rv # Not strictly needed, just in case > > > > Then go to a page with emoji, you should be able to see all the emojis. > > > > e.g. in the browser section of > > https://unicode.org/emoji/charts/full-emoji-list.html > > > > and `fc-match -s emoji` will return TwemojiMozilla as an usable font. > > does the below diff help ? same can be applied to esr. note to the ones > testing: https://unicode.org/emoji/charts/full-emoji-list.html#1f972 is a > better link, otherwise you'll think that it's not working because the browser > column is empty...
and it seems that https://unicode.org/Public/emoji/14.0/emoji-test.txt is definitely a better testcase.
