You are not logged in.

#1 2019-01-22 18:07:27

damjan
Member
Registered: 2006-05-30
Posts: 452

[solved] Many Emojis don't show in Qt, QML or KDE application

I'm running plasma 5.14.5 on X11 and many emojis (color emojis?) don't show up in any of the KDE/Qt/QML applications (konsole, kate), while they work in chromium 71.0.3578.98-3, firefox 64.0.2, gtk3 apps (like vte-2.91), even xterm 343.

To reproduce, I open https://eosrei.github.io/emojione-color … -demo.html in the browse, save the file to /tmp, and then cat it in konsole or open it in kate
https://i.imgur.com/y165fNa.png

Alternatively, copy/paste the avocado from the browser to konsole or kate, the emoji doesn't show up, just a crossed box.

Font info:

$ fc-match emoji
NotoColorEmoji.ttf: "Noto Color Emoji" "Regular"

$ fc-match sans-serif
DejaVuSans.ttf: "DejaVu Sans" "Book"

$ fc-match monospace
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"

locale is LANG=en_GB.UTF-8
xterm is started with -fs 14 -fa "DejaVu Sans Mono"

I've also created a simple hello-world.qml file, and copy/pasted an emoji in the text, it doesn't show up.

Last edited by damjan (2019-01-24 14:55:02)

Offline

#2 2019-01-22 19:07:43

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,098

Re: [solved] Many Emojis don't show in Qt, QML or KDE application

I've seen this happen if you have *both* ttf-carlito and tex-gyre-fonts installed. Removing either of them will fix the problem. There may be other combinations of installed fonts causing similar problems, I haven't investigated further.

Offline

#3 2019-01-23 13:28:20

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: [solved] Many Emojis don't show in Qt, QML or KDE application

Thanks.
I don't have either of those fonts installed, so it must be something else

Offline

#4 2019-01-24 14:53:38

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: [solved] Many Emojis don't show in Qt, QML or KDE application

But thanks for the hint that it might be a certain font.

I removed noto-fonts and now emojis show up (had to remove with sudo pacman -R -dd noto-fonts, since it's required by plasma-integration)

Offline

#5 2019-02-13 21:42:01

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: [solved] Many Emojis don't show in Qt, QML or KDE application

still the same with plasma-workspace 5.15 and kde framework 5.55.0

Offline

Board footer

Powered by FluxBB