Fix emojione-color-font in the newest Firefox on Ubuntu Linux

Advertisement

After I upgraded Firefox to version 55, I found that the old option:

gfx.font_rendering.fontconfig.fontlist.enabled workaround

no longer existed. Without that option I can’t display emoji correctly in Firefox.

Advertisement

选区_117.png

There is a way to fix this. Just make the emoji-color font get picked before your other fonts.

sudo gedit /etc/fonts/conf.avail/69-language-selector-zh-cn.conf

Try adding:

<string>EmojiOne Color</string>

after your Bitstream font family. Like this.

选区_119.png

Then check whether it works.

$ fc-match -s sans | head -n3
Vera.ttf: "Bitstream Vera Sans" "Roman"
EmojiOneColor-SVGinOT.ttf: "EmojiOne Color" "Regular"
wqy-microhei.ttc: "文泉驿微米黑" "Regular"

And finally……

选区_118.png

Here is the way to install emojione-color-font.

Discuss this post on plumz.me

Comments are hosted on the Chinese main site. This mirror is read-only.

Table of Contents