summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wasm/qwasmwindowstack.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <[email protected]>2022-10-19 14:39:38 +0200
committerEskil Abrahamsen Blomfeldt <[email protected]>2022-10-20 16:05:25 +0200
commitcdd7163c6071ac2020a1750cf2820ecea057abe4 (patch)
tree71be710b1883e0003af69476d8be6ed37fe9346b /src/plugins/platforms/wasm/qwasmwindowstack.h
parent2decbe04170842c23119dc752d45f51021773836 (diff)
macOS: Fix synthetic bold on scaled painters
Bold synthesizing on macOS works by redrawing the text at a subpixel offset. However, since the text position is given in user space (pre-transformed) we need to scale the offset by the current matrix, otherwise you can get large gaps between the two instances of the text. [ChangeLog][macOS] Fixed an issue with synthetic bold on fonts when the painter had a scale Fixes: QTBUG-103215 Change-Id: Idf0ae3da75a55825cbb5598561ef8fd9a512c6a5 Reviewed-by: Tor Arne Vestbø <[email protected]> Reviewed-by: Timur Pocheptsov <[email protected]>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmwindowstack.h')
0 files changed, 0 insertions, 0 deletions