Bug 503861

Summary: Multi-character nerd font symbols don't work on any version of konsole after 24.12.3
Product: [Applications] konsole Reporter: pvpdmail
Component: fontAssignee: Konsole Developer <konsole-devel>
Status: CONFIRMED ---    
Severity: normal CC: chiitoo, strong.drum0546
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of both konsole and kate. Kate shows "-->" correctly while konsole doesn't.
konsole-unsmooth-25.04.1
konsole-unsmooth-24.12.3

Description pvpdmail 2025-05-06 21:36:33 UTC
Created attachment 181007 [details]
Screenshot of both konsole and kate. Kate shows "-->" correctly while konsole doesn't.

SUMMARY
Multi character symbols such  "<=" or "!=" should be a single smaller-equal than and a not-equals symbol respectively instead of just the characters that make them up. I tested previous konsole versions on Arch using downgrade and found 24.12.3 to be the last version that renders those symbols correctly. Single character symbols like the vim icon or the firefox (󰈹) icon do work. 

STEPS TO REPRODUCE
1. Upgrade from 24.12.3
2. type multi-character symbol such as "<=", "<-->", "!="

OBSERVED RESULT
Custom multi-character nerd-font symbols do not show up

EXPECTED RESULT
Custom multi-character nerd-font symbols should show up

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.14.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6700 XT 

ADDITIONAL INFORMATION
This is an issue specific to konsole. Other qt-6 programs like kate function correctly.
Comment 1 Lenzoid 2025-05-07 18:51:50 UTC
Thanks for your report and trying so many versions.

Can confirm this for the latest Konsole 25.07.70 from git-master like this:

- On Arch, installed the `ttf-fantasque-nerd` package
- Set Konsole current profile and Kate preferences to the Fantasque (or a Fira Code)
- Compare the '=>' in both programs. In Kate it works, in Konsole doesn't.

Operating System: Arch Linux 
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.0
Kernel Version: 6.14.4-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X3D 8-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 2070 SUPER
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7B85
System Version: 1.0
GPU driver: nvidia-open-beta-dkms 575.51.02
Comment 2 Chiitoo 2025-05-12 07:12:55 UTC
Created attachment 181196 [details]
konsole-unsmooth-25.04.1

Not sure if related to the same change, didn't bisect yet, but after '24.12.3', at least 'DejaVu Sans Mono 9pt' is quite broken when 'Smooth fonts' is disabled.
Comment 3 Chiitoo 2025-05-12 07:13:27 UTC
Created attachment 181197 [details]
konsole-unsmooth-24.12.3
Comment 4 Chiitoo 2025-06-08 12:07:41 UTC
For the symbolism issue, I suspect it's due to commit 79c6838fd93 [1].

That is, try enabling 'Word mode' under

Edit Profile / Appearance / Complext Text Layout

if it is disabled.

The issue I described seems to start with commit be76d4a2480 [2].

1. https://invent.kde.org/utilities/konsole/-/commit/79c6838fd93107f0a9e85b89c9cc2fda2f1020d4
2. https://invent.kde.org/utilities/konsole/-/commit/be76d4a2480fbf24e261cf3bf0f69a781100d534
Comment 5 pvpdmail 2025-06-08 12:19:01 UTC
(In reply to Chiitoo from comment #4)
> For the symbolism issue, I suspect it's due to commit 79c6838fd93 [1].
> 
> That is, try enabling 'Word mode' under
> 
> Edit Profile / Appearance / Complext Text Layout
> 
> if it is disabled.

Well, this fixed the NerdFont character issue for me. Why was word mode disabled by default on 79c6838f ? The commit message only mentions what word mode does.
Comment 6 Chiitoo 2025-06-08 13:13:23 UTC
The merge request for the commit gives some background:

https://invent.kde.org/utilities/konsole/-/merge_requests/1044

Incidentally, it's also the one with the commit that makes non-smooth DejaVu Sans Mono worse for me, and I think disabling 'Word mode' is supposed to be used for that situation, then, but I think it still looks worse than before, but I'll need to compare things some more again.