Bug 504327 - Font warping during selection
Summary: Font warping during selection
Status: RESOLVED DUPLICATE of bug 503087
Alias: None
Product: konsole
Classification: Applications
Component: font (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-16 11:50 UTC by Rosalie
Modified: 2025-05-19 06:41 UTC (History)
1 user (show)

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


Attachments
Video which shows the issue (493.25 KB, video/webm)
2025-05-16 11:50 UTC, Rosalie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rosalie 2025-05-16 11:50:30 UTC
Created attachment 181377 [details]
Video which shows the issue

SUMMARY
I've noticed a weird font issue in Konsole in a recent-ish update, it makes the font width change when selecting text

I've bisected it to be76d4a2480fbf24e261cf3bf0f69a781100d534, reverting that commit fixes the issue.

I'm using Berkeley Mono, which is sadly a paid font: https://berkeleygraphics.com/typefaces/berkeley-mono/

In the commit that causes the issue, it says the following:
    Enabling hinting does not achieve the desired results (integer width fonts). 
    It helps with some fonts, but makes the situation worse with others.

If this is the case, maybe adding an option to Konsole for full font hinting would help users who are experiencing this issue.


STEPS TO REPRODUCE
1. Open Konsole after be76d4a2480fbf24e261cf3bf0f69a781100d534
2. Select some text
3. See the font warp in width

OBSERVED RESULT
Font width changes in the selection

EXPECTED RESULT
Font shouldn't change width in selection

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.5-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 47.0 GiB of RAM
Graphics Processor: AMD Radeon RX 6600

ADDITIONAL INFORMATION
I've attached a small video which showcases the issue.
Comment 1 John Kizer 2025-05-19 06:41:56 UTC
Hi - merging this in with the existing bug report for this issue. Thanks!

*** This bug has been marked as a duplicate of bug 503087 ***