aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickwindow.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2020-05-05 11:36:24 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-19 06:20:12 +0200
commit706918472f01a0fea51ea450953d878a1f3f003f (patch)
tree5c7406de0683c59d162f4283a346738799ffe1bb /src/quick/items/qquickwindow.cpp
parentf703881b8176dfcc85b8d1cb3b8449722bb0ebf8 (diff)
Fix subpixel positioned text with Text.NativeRendering
We would be generating subpixel positioned glyphs based on the relative positions of the glyphs, ignoring the fractional part contributed by the origin of the text. So if the text origin was inside a pixel, the subpixel antialiasing would be wrong and we would see kerning errors. This was especially visible when using AlignHCenter on text with hinting disabled and resizing the item it was aligning to. Task-number: QTBUG-49646 Change-Id: I0e709ba2b5d2440e34c94c6f819befe0a65a113a Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> (cherry picked from commit e807f9d1d80559b8ff91f1c3cfdd755b3da56a6d)
Diffstat (limited to 'src/quick/items/qquickwindow.cpp')
0 files changed, 0 insertions, 0 deletions