summaryrefslogtreecommitdiffstats
path: root/qmake/doc/snippets/code
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <[email protected]>2022-06-13 12:35:37 +0200
committerQt Cherry-pick Bot <[email protected]>2022-06-14 12:58:20 +0000
commit763fb35d9d9461a6927fbcc9551eb8a166cdb677 (patch)
treee20ea8959d085448a0f2549fea82cb6e2d4d9291 /qmake/doc/snippets/code
parent97d7042c457e5eeacdf7def765566e0a31e064b9 (diff)
CoreText: Fix fonts with synthetic stretch
If a font is synthetically condensed / expanded, we need to scale the advances as well as the bounding boxes for the glyph cache. The logic is adapted from DirectWrite font engine, where the same scaling is already in place. [ChangeLog][macOS] Fixed a bug where synthetically stretched fonts would get the wrong advances and sometimes glyphs would be clipped. Fixes: QTBUG-103838 Change-Id: I09fc87b245d1f2de980c10ad9253b9a83571f714 Reviewed-by: Tor Arne Vestbø <[email protected]> (cherry picked from commit 992a318d391db397d6fec78532ce9e60af098e58) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
Diffstat (limited to 'qmake/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions