diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-05-05 11:36:24 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-05-05 12:58:21 +0200 |
commit | e807f9d1d80559b8ff91f1c3cfdd755b3da56a6d (patch) | |
tree | 1b7b571b2428462c994693927404444a7bdfdbe2 /src/quick/items/qquickaccessibleattached_p.h | |
parent | a135f3d6c3202b37eda0f1e94292f795f9e575ca (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.
Pick-to: 5.15
Task-number: QTBUG-49646
Change-Id: I0e709ba2b5d2440e34c94c6f819befe0a65a113a
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/quick/items/qquickaccessibleattached_p.h')
0 files changed, 0 insertions, 0 deletions