https://bugs.kde.org/show_bug.cgi?id=518019
Bug ID: 518019
Summary: Uglier font rendering compared to 22
Classification: Applications
Product: konsole
Version First 25.04.2
Reported In:
Platform: Debian stable
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: font
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 190922
--> https://bugs.kde.org/attachment.cgi?id=190922&action=edit
Screenshots and demo patch
SUMMARY
After upgrading from Konsole 22 (Debian bookworm) to 25 (trixie), the text in
the terminal appears much wider (see screenshots in attachment) which looks
uglier and means less characters per line. (The first point may be subjective,
the second one is not.) I verified that the font selected in the configuration
is the same, also the actual font used is the same (DejaVuSansMono.ttf), also
the line height and spacing is the same.
Looking at the source, one change drew my attention: apparently Qt6 doesn't
support integer metrics anymore, so Konsole requests real numbers now, though
it ultimately needs integers. So I guess they're rounded in a different place
and in a different way now. To check, I just subtract 1 from the width and the
result (see screenshot) is now close to how it was in 22. Of course,
subtracting 1 might not always be correct, but at least for other sizes I
checked, it doesn't look bad.
The result is not quite the same as in 22, though, and still a bit uglier IMHO.
Zooming in on the screenshots one can see that horizontal lines are much more
often blurred now. I'm not opposed to anti-aliased fonts (and unchecking
"Smooth fonts" makes it look much uglier to me), but e.g. characters like "E"
and "F" look much clearer in 22. I don't know if that's also due to metrics,
but just adding 1 to the height doesn't help.
STEPS TO REPRODUCE
1. Select "monospace 8pt" font with "Smooth fonts" on (probably also with other
fonts and sizes, but mainly tested with this one)
OBSERVED RESULT
see font-25.png
EXPECTED RESULT
see font-22.png
SOFTWARE/OS VERSIONS
see Debian trixie (many different version numbers in KDE/Qt packages, but all
original from trixie)
--
You are receiving this mail because:
You are watching all bug changes.