Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79697 - [plasma] KDE recommended's fontconfig configuration is not shipped, making emojis not render

Attached to Project: Arch Linux
Opened by Martin Rys (C0rn3j) - Friday, 15 September 2023, 08:29 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 16 September 2023, 14:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

KDE suggests to ship a fontconfig file to fix emoji display:
https://community.kde.org/Distributions/Packaging_Recommendations#Fontconfig_configuration

Without it, emojis are broken in Plasma.

I believe they're working around https://bugreports.qt.io/browse/QTBUG-80434 with this, but I am not 100% on it.

Repro:
1) Run `notify-send 🤷`, notification will show up tofu instead of the emoji.

Workaround:
1) Push the file linked wiki page mentions to /etc/fonts/local.conf
2) Run `fc-cache`
3) Restart plasmashell `systemctl --user restart plasma-plasmashell.service`
4) notify-send now works with emoji
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 16 September 2023, 14:20 GMT
Reason for closing:  Won't implement
Comment by Toolybird (Toolybird) - Friday, 15 September 2023, 22:04 GMT
"plasma" is not a valid pkg name. Where would you suggest this be implemented? Note: Qt seems to get some special mention here [1]

[1] https://wiki.archlinux.org/title/Fonts#Emoji_and_symbols
Comment by Martin Rys (C0rn3j) - Saturday, 16 September 2023, 11:20 GMT
It's a bit of a tough one, as this also fixes emoji for example in Konsole and perhaps Qt apps in general, judging from the fact it seems to affect the entire framework.

Probably plasma-desktop in that case?

Or perhaps as a separate package, something like, "fontconfig-qt-fallback", with plasma-desktop having a dependency on it.
Comment by Antonio Rojas (arojas) - Saturday, 16 September 2023, 14:20 GMT
This sort of workarounds belong in the wiki. Also, depending on the installed fonts this can have undesired side effects such as digits rendering as emoji in web sites.

Loading...