Bug 472065 - Kate doesn't render some nerdfont glyphs properly
Summary: Kate doesn't render some nerdfont glyphs properly
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: application (other bugs)
Version First Reported In: 23.04.1
Platform: NixOS Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-08 06:05 UTC by Hai Zaar
Modified: 2023-07-21 07:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Kate doesn't show glyphs property (55.28 KB, image/png)
2023-07-08 06:05 UTC, Hai Zaar
Details
Chrome shows it just fine (19.49 KB, image/png)
2023-07-08 06:06 UTC, Hai Zaar
Details
gkt-based terminal works fine as well (7.31 KB, image/png)
2023-07-08 06:07 UTC, Hai Zaar
Details

Note You need to log in before you can comment on or make changes to this bug.
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