summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2020-05-26 08:11:06 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2020-05-29 07:28:10 +0200
commit4e5d686a87c4e86aae42d1a5921eec22151f12a5 (patch)
tree9a1866d6491e18954da1074a2ba9fd88fc9524ba /doc/src/snippets/code
parentbc380b242d758fd0342f50ea882272c14fed9db8 (diff)
downloadqtbase-4e5d686a87c4e86aae42d1a5921eec22151f12a5.tar.gz
Make tst_QTextLayout::textWidthVsWIdth() more robust
Some fonts misreport the minimum right bearing, and in those cases we may not be able to do a perfect text layout inside the bounds set. This is a limitation we have chosen to accept. To avoid random failure when testing this, we detect the case and skip the test if we see that it may fail. Fixes: QTBUG-84415 Pick-to: 5.15 Change-Id: I6b53ea2631c5c6e476e2902b5514829a2141796f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'doc/src/snippets/code')
0 files changed, 0 insertions, 0 deletions