ngraham created this revision.
ngraham added reviewers: Plasma, davidedmundson.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
ngraham requested review of this revision.
When `PLASMA_USE_QT_SCALING=1` is set, Plasma uses native Qt scaling. This
works fine for integer scale factors, and fixes a lot of bugs (see Bug 356446
<https://bugs.kde.org/show_bug.cgi?id=356446> but it introduces a new one: with
non-integer scale factors, text becomes blurry and pixellated, because
NativeRenderins is used, and PlasmaComponents QML objects don't implement the
fix that QQC2-desktop-style does to force the use of Qt font rendering for
non-integer scale factors. This patch fixes that, and gets us one step closer
to being able to use Qt scaling in Plasmashell.
There is no effect when `PLASMA_USE_QT_SCALING=1` is not being used.
Before: `PLASMA_USE_QT_SCALING=1` set, 1.2 scale factor: Plasma text looks
After: `PLASMA_USE_QT_SCALING=1` set, 1.2 scale factor: Plasma text looks
Witout both `PLASMA_USE_QT_SCALING=1` and a non-integer scale factor set,
there is no visual change.
R242 Plasma Framework (Library)
To: ngraham, #plasma, davidedmundson
Cc: #frameworks, michaelh