Bug ID: 391780
Summary: Qt text rendering is always being used, leading to
text looking a little lighter than necessary
Target Milestone: ---
Created attachment 111351
top Qt rendering; bottom Native rendering
renderType: Window.devicePixelRatio % 1 !== 0 ? Text.QtRendering :
However, Window.devicePixelRatio doesn't exist (it would be in the Screen
import, not Window), so the conditional always evaluates to true, so we always
get QtRendering, even at integer scale factors and non-HiDPI. This is what we
want for a non-integer scale factor since the alternative is even worse (see
https://bugreports.qt.io/browse/QTBUG-67007), but for non-hi-dpi and integer
scale factors, we should not use QtRendering, since it results in text that is
ever-so-slightly lighter and wispier, which some very sensitive people can pick
up on. See the attached comparison: the string on the top was rendered with
QtRendering, and the one on the bottom with NativeRendering. Note how the
QtRendering version is slightly lighter.
I plan to submit a patch later today if nobody else beats me to it first.
You are receiving this mail because:
You are watching all bug changes.