diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-01-30 10:01:09 +0100 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-02-01 10:04:19 +0100 |
commit | beede51bca1a43befe42499ad784af57d2450162 (patch) | |
tree | 45471d0c90eefe11ef2c113b482537a38795c375 /header.LGPL-NOGPL2 | |
parent | b35dda7ee71fee896f7c2554293fae51b821d1bd (diff) |
Fix rendering offset when using DirectWrite engine
When rendering the glyphs into the texture, we need to translate
by the margins (this is accounted for later). The visible
symptom for this was that when the DirectWrite engine was used
all glyphs would be two pixels to the left (which could be seen
when placing a cursor at the glyph for instance, and sometimes
the edge of the glyph was clipped).
Change-Id: Ife72ae8b5663cf43448ae0f8323a459210609b4d
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'header.LGPL-NOGPL2')
0 files changed, 0 insertions, 0 deletions