Some emojis are not showing the colored version

On the console/terminal, some of the emojis are not shown in the colored, but in a some kind of bw/wireframe version:

Searching on the net, I find other people having similar issues. However, most recommendations are about making changes to font-config files, and trying those changes out only seem to make the issue worse.

1 Like

What is the application you took the image of ?

https://unicode.org/emoji/charts/full-emoji-list.html

How do you see them in the page linked above? Look at number 3 and 782.

It is the KDE terminal (Konsole).

I just double checked using GNOME Terminal, and that shows the correct behavior. So this might be an issue related to KDE?!

1 Like

That works as expected. I don’t recall having emoji issues in the browser for quite a while. But as it looks, this is related to KDE.

I took the emoji (#2) copied and pasted it into some browser input field, and it shows up correctly. Pasted it into “VS Code” (works), ZIM (GTK based, works) … Kate (KDE Editor, doesn’t work).

So it looks like this has something to do the with the KDE font configuration?!

1 Like

I don’t use KDE or any Qt program but that might be the reason since it works fine with GTK and Electron apps.

https://www.reddit.com/r/kde/comments/fpov5d/help_emojis_in_black_and_white/

it looks like

2 Likes

That was a great pointer @ilikelinux !

I used the solution here: https://www.reddit.com/r/kde/comments/fpov5d/help_emojis_in_black_and_white/g3znyj3/


Just create the following config file:
~/.config/fontconfig/fonts.conf :

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

That fixed the issue for me. I am wondering why this isn’t “the default”. But hey, success! :slight_smile:

Thanks for your help!

3 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.