Summary: | Font rendering broken when word mode is enabled | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | erentar2002 |
Component: | font | Assignee: | Konsole Developer <konsole-devel> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | 13736845354, benedikt.rips, breakingspell, colin.cope, furo, hasezoey, kde, kdedev, may5694, mds_foss, morisset.hugues, nul_sss, pereira.alex, rblade457, rosalie, sauersandro149, voxelprismatic, yule2000, zpnewman10 |
Priority: | NOR | Keywords: | regression |
Version First Reported In: | 25.04.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=483292 https://bugs.kde.org/show_bug.cgi?id=494788 |
||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
video showing the incorrect font rendering
Exaggerated font rendering bug Subtle rendering bug |
*** Bug 503116 has been marked as a duplicate of this bug. *** Created attachment 180482 [details]
Exaggerated font rendering bug
Font: Ubuntu @ 8px
Created attachment 180483 [details]
Subtle rendering bug
Font: UbuntuSansMono Nerd Font Mono @ 8px
Seeing the same with X11 at 100% scaling with MesloLGS NF. This also affects Yakuake (and any program that sources Konsole profile). Turning off "Word Mode" does work! Thanks for the pointer, but as you mentioned it does impact ASCII/ligatures. I noticed while sifting through commits that Word Mode is disabled by default on new installs, due to QT regressions: https://invent.kde.org/utilities/konsole/-/merge_requests/1044. So far I haven't ran into any missing elements after toggling Word Mode off, fonts and icons render as they did in 24.12.3. Have the same issue with font JetBrains mono. *** Bug 503312 has been marked as a duplicate of this bug. *** Leaving Word Mode enabled, but disabling ASCII Characters, fixes the issue for me. Although it does disable Ligatures I can confirm that this happened when upgrading from Konsole version 24.12.3 to 25.04.0. Benedikt in bug 503312 wrote the following: > Looking through the commit history between the 24.11 and 24.05 releases, > I found that https://invent.kde.org/utilities/konsole/-/commit/be76d4a2480fbf24e261cf3bf0f69a781100d534 may be the culprit. > And indeed, a custom build that had this commit reverted behaved as expected. Therefore, I'm adding bug 483292 and bug 494788 as related, as merge request !1044 [1] was attempting to fix them. Side notes: - Interestingly, while testing on the current KDE neon testing 20250429 even the default settings (using Hack font) are quite janky as soon as you enable word mode. - I personally use Fira Code in word mode with ligatures. With 9px font size, I experience deal-breaking glitches, but with 10px, it suddenly appears fine. [1] https://invent.kde.org/utilities/konsole/-/merge_requests/1044 > Interestingly, while testing on the current KDE neon testing 20250429 even the default settings > (using Hack font) are quite janky as soon as you enable word mode. Bug 474621 looks exactly like what I see on KDE neon testing when highlighting text with default settings and word mode. So this is definitely a regression. If this is the same issue I am having, I found out that increasing font size fixes for me. In my case, anything below font size 15pt is broken, but at 15pt works properly. Also ran into this problem trying to figure out what it is. This issue did not happen in "24.12.3" but happens in "25.04.0" and only when the font size is anything other than "11pt"(the default). I normally have it set to "10pt". The following workarounds work for me: - disabling "Word mode" - disabling "ASCII characters" (but leaving "Word mode" on) - downgrading the version I had tried all the fonts Konsole allows me to select, which includes "Hack Nerd Font"(+" Mono"), "JetBrains Mono", "Monospace", "Adwaita Mono" and "DejaVu Sans Mono". All my display scales are 100% and the problem happens on any display. Operating System: Manjaro Linux KDE Plasma Version: 6.3.4 KDE Frameworks Version: 6.13.0 Qt Version: 6.9.0 Kernel Version: 6.12.25-1-MANJARO (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor Memory: 15.5 GiB of RAM Graphics Processor: AMD Radeon RX Vega Manufacturer: ASUS *** Bug 504057 has been marked as a duplicate of this bug. *** *** Bug 504327 has been marked as a duplicate of this bug. *** Same issue on Neon (User edition) w/ Konsole and a mono nerd font. Noticed my ligatures were missing, so I enabled word mode and the text got all bunched up. For now I'm just leaving word mode disabled and am gonna live without the ligatures for a bit. zpnewman, you could just downgrade konsole to last 24.12.3 release until they fix it. Issue still persists in 25.08.1 |
Created attachment 180464 [details] video showing the incorrect font rendering font rendering with "Complex Text Layout > Word mode" enabled went completely bonkers after the last update from 24.12.3 -> 25.04.0 Disabling word mode fixes the issue, however it also disables ligatures. Also note I am on wayland and use fractional scaling at 150%.