Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.6.0
-
None
Description
By default, KDE sets the QT_SCREEN_SCALE_FACTORS, which causes Qt to call QHighDpiScaling::setScreenFactor(), which unconditionally sets m_active=true, turning off font hinting.
The fix is to make QHighDpiScaling::setScreenFactor() only set m_active when actually scaling:
if (!qFuzzyCompare(factor, qreal(1)) m_active=true;
Attachments
For Gerrit Dashboard: QTBUG-56797 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
175397,2 | Only turn off font hinting when scale is != 1 | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |