summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>2015-02-04 13:54:07 +0100
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2015-02-05 05:46:10 +0000
commit434868e9d3cab37b304d7511cd62616d7cd6e032 (patch)
tree6358880463caa5a3cf52090fcb0e44ac8abcaf06 /src/corelib/global
parent8c3ae221e60ae9b15ed5b942c18a52c2c0f3014f (diff)
REG: Fix misplaced outline drawn text with native rendering
Change c238d34137ffe80d30933733a12aa2893b9631c2 was a refactoring which slightly changed behavior. In the case of fetching the alpha map's bounding box, before we would call loadGlyph() even for the case of outline drawing, as the correct bounding rect is still needed for this case. In loadGlyphFor() however, 0 was always returned for this case, as it was only used for populating the cache. The simple fix for this is to add a bool to loadGlyphFor() which adapts the original behavior when set, similar to the fetchMetricsOnly bool in the loadGlyph() functions. Change-Id: I76296c8aaeddbdae9e4c27ed2b30b7d59ff0843b Task-number: QTBUG-44273 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@theqtcompany.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/corelib/global')
0 files changed, 0 insertions, 0 deletions