Bug 472065

Summary: Kate doesn't render some nerdfont glyphs properly
Product: [Applications] kate Reporter: Hai Zaar <haizaar>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 23.04.1   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Kate doesn't show glyphs property
Chrome shows it just fine
gkt-based terminal works fine as well

Description Hai Zaar 2023-07-08 06:05:39 UTC
Created attachment 160133 [details]
Kate doesn't show glyphs property

SUMMARY
Some of the nerdfonts glyphs are not rendered correctly. For example: ☁️ 🇬️
I'm using "MesloLGSDZ Nerd Font Mono" font. In GTK based apps (terminal) and in Chrome/Firefox they display just fine



STEPS TO REPRODUCE
1. Install "MesloLGSDZ Nerd Font Mono" from nerdfonts
2. Configure Kate to use it
3. Copy/paste ☁️ 🇬️ characters

OBSERVED RESULT
See screenshots

EXPECTED RESULT
See screenshots

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: NixOS 23.05 amd64, KDE Plasma on Wayland.
(available in About System)
KDE Plasma Version: 5.27.6
KDE Frameworks Version:  5.106.0
Qt Version:  5.15.9
Comment 1 Hai Zaar 2023-07-08 06:06:13 UTC
Created attachment 160134 [details]
Chrome shows it just fine
Comment 2 Hai Zaar 2023-07-08 06:07:30 UTC
Created attachment 160135 [details]
gkt-based terminal works fine as well
Comment 3 Hai Zaar 2023-07-08 06:16:39 UTC
I think it's somehow related to KDE/QT rendering in general - these symbols don't render properly in any KDE app (dolphin, konsole, klipper) but render just fine in GTK apps (lxterminal, nautilus, etc.)
Comment 4 Hai Zaar 2023-07-21 07:03:05 UTC
Turned out it's a configuration issue: https://discourse.nixos.org/t/kde-doesnt-render-nerd-font-glyphs/30153/5?u=haizaar