General TC > General TC Talk
[Solved] emojis show up as tofus in all applications
GNUser:
I use TCL13.1 x86_64 on my daily-driver laptop. When I receive an email with an emoji or visit a webpage with emojis, I am only able to see a very small subset of them--most kinds of emoji show up as little white boxes (a.k.a. "tofus").
Here's a test page: https://unicode.org/Public/emoji/5.0/emoji-test.txt
With a few exceptions ("smiling face", "frowning face", and "skull and crossbones"), I see only tofus on the right column by the emoji names.
This problem affects both of the applications I use the most: brave-browser and thunderbird.
I already tried installing most of the font extensions in the repo to no avail, so I went back to loading just the few font extensions that I normally use (Hack-font, dejavu-fonts-ttf, and dependencies of other extensions):
--- Code: ---$ tce-status -i | grep font
Hack-font
Xorg-fonts
dejavu-fonts-ttf
fontconfig
libXfont2
libfontenc
--- End code ---
My system already has the /etc/fonts symlink to /usr/local/etc/fonts:
--- Code: ---$ ls -l /etc/fonts
lrwxrwxrwx 1 root root 20 Sep 21 12:26 /etc/fonts -> /usr/local/etc/fonts/
--- End code ---
Any ideas how to make the emojis show up on the test page as expected? I rarely use emojis myself, but would like to see them when people send them to me.
curaga:
It looks like none of the repo fonts has emojis. You can try fonts off the web by putting them to your ~/.fonts directory.
GNUser:
Thanks, curaga. That did the trick.
I downloaded Noto_Emoji.zip (from https://fonts.google.com/noto/specimen/Noto+Emoji) and Noto_Color_Emoji.zip (from https://fonts.google.com/noto/specimen/Noto+Color+Emoji). Then I extracted the zip archives, created ~/.fonts/emoji/ directory, and put all the extracted .ttf files in there:
--- Code: ---$ ls $HOME/.fonts/emoji
NotoColorEmoji-Regular.ttf NotoEmoji-Regular.ttf
NotoEmoji-Bold.ttf NotoEmoji-SemiBold.ttf
NotoEmoji-Light.ttf NotoEmoji-VariableFont_wght.ttf
NotoEmoji-Medium.ttf
--- End code ---
If I re-open the web browser and try the test page, all emojis show up now! Topic is solved, thank you.
Rich:
Hi GNUser
I just opened your test page with Firefox and all of the emojis seemed to display properly.
I entered emoji in the about:config search box and Firefox returned one result:
--- Code: ---font.name-list.emoji Twemoji Mozilla
--- End code ---
I doubt it makes any difference, but these are the fonts I have installed:
--- Code: ---tc@E310:~$ ls -1 /usr/local/tce.installed | grep -E "font|freetype|vera"
Xorg-fonts
dejavu-fonts-ttf
fontconfig
freetype
libXfont2
libfontenc
ttf-bitstream-vera
tc@E310:~$
--- End code ---
GNUser:
Hi, Rich. It seems your web browser comes with at least one built-in font provided by Mozilla ("Twemoji Mozilla"). My browser (Brave) does not seem to come with any built-in font for emojis.
I discovered that putting the "emoji" directory containing the Noto*.ttf files inside of /usr/local/share/fonts (i.e., so that I now have the /usr/local/share/fonts/emojis/ directory) also works.
Navigation
[0] Message Index
[#] Next page
Go to full version