Bug 503116

Summary: Improper font width calculation
Product: [Applications] konsole Reporter: Daniel Petrov <voxelprismatic>
Component: fontAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Exaggerated font rendering bug. Font: Ubuntu @ 8px
Font: UbuntuSansMono Nerd Font Mono @ 8px

Description Daniel Petrov 2025-04-21 14:52:11 UTC
Created attachment 180480 [details]
Exaggerated font rendering bug. Font: Ubuntu @ 8px

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
The width of each character is not properly calculated, meaning tokens are placed in arbitrary locations

STEPS TO REPRODUCE
1. Use Konsole

OBSERVED RESULT
Characters are placed in arbitrary locations

EXPECTED RESULT
Characters are placed in the proper location


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 6.3
KDE Plasma Version: .3.4
KDE Frameworks Version: 6.13.0 
Qt Version: 6.8.3
Graphics Platform: Wayland

ADDITIONAL INFORMATION
My font is UbuntuSansMono Nerd Font Mono @ 8px. This was not an issue with the 24.12.3 version
Comment 1 Daniel Petrov 2025-04-21 14:53:50 UTC
Created attachment 180481 [details]
Font: UbuntuSansMono Nerd Font Mono @ 8px
Comment 2 Daniel Petrov 2025-04-21 14:57:45 UTC
woops, duplicate of https://bugs.kde.org/show_bug.cgi?id=503087

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