[kde] [Bug 479891] Some text glyphs in QML software are mis-aligned or squished when using a fractional scale factor
NW
bugzilla_noreply at kde.org
Sat Mar 16 18:10:25 GMT 2024
https://bugs.kde.org/show_bug.cgi?id=479891
--- Comment #27 from NW <nw9165-jjnfov5mav at yahoo.com> ---
PS:
Actually any value, other than the Qt 6 default value "PassThrough", seems to
fix the issue:
https://doc.qt.io/qt-6/qt.html#HighDpiScaleFactorRoundingPolicy-enum
Because the "Round", "Ceil" and "Floor" settings also seem to solve the issue
(not just the "RoundPreferFloor" setting).
According to the documentation, "Round" was the default setting for Qt 5 and
"PassThrough" is the default setting for Qt 6:
https://doc.qt.io/qt-6/highdpi.html#environment-variable-reference
And only the "PassThrough" setting seems to cause the issue.
The documentation also seems to suggest that using any of the non-default
settings ("Round", "Ceil", "Floor", "RoundPreferFloor") would round fractional
values either up or down to the next integer value:
https://doc.qt.io/qt-6/qguiapplication.html#setHighDpiScaleFactorRoundingPolicy
But the size of the items on the screen do not seem to change at first glance.
The only effect that those non-default settings seem to have is that the font
rendering issue is fixed when using them.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list