qt6-bb10/tests/auto
Eskil Abrahamsen Blomfeldt e6880e7cd1 Fix text shifting vertically when elided
When eliding text we would check for the existence of the ellipsis
character and fall back to using the dot if it was not available.
However, when font merging was in use, we would also use ellipsis
from a fallback font if available. This could cause the metrics
of the text to increase if the fallback font had larger metrics,
and the result was that text could shift when elided.

It is better to prefer the dot from the current font than to use
the ellipsis from a fallback, so we only use the ellipsis if
it is in the main font.

[ChangeLog][QtGui][Text] Fixed a bug where eliding text could
change the height of its bounding rectangle for certain fonts.

Fixes: QTBUG-72553
Change-Id: Ib27fc65302465ddce661801bcc5ae32e55f1aeb9
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2018-12-21 10:27:12 +00:00
..
android
bic/data Add binary compatibility files for 5.11 for QtBase 2018-06-05 06:00:28 +00:00
cmake Export modules' enabled/disabled features to cmake 2018-09-28 13:10:28 +00:00
concurrent Merge remote-tracking branch 'origin/5.11' into dev 2018-02-16 08:54:58 +01:00
corelib QRegularExpression: anchor wildcard pattern 2018-12-15 13:24:16 +00:00
dbus Fix wrong relative path to qdbus_symbols.cpp 2018-07-24 04:24:31 +00:00
gui Fix text shifting vertically when elided 2018-12-21 10:27:12 +00:00
guiapplauncher
installed_cmake
network Merge remote-tracking branch 'origin/5.11' into 5.12 2018-11-27 01:00:09 +01:00
opengl macOS: Skip tst_QGLThreads::renderInThread 2018-11-09 08:10:36 +00:00
other Add lancelot tests to verify vertical alignment of inline images 2018-12-03 07:52:55 +00:00
printsupport Merge remote-tracking branch 'origin/5.11' into dev 2018-05-03 14:50:22 +02:00
shared Read font selection flags and use them when querying for metrics 2018-11-30 16:15:03 +00:00
sql QSqlQuery: add another testcase for bindBool() 2018-11-02 08:27:12 +00:00
testlib Merge remote-tracking branch 'origin/5.11' into 5.12 2018-11-27 01:00:09 +01:00
tools moc: add support for C++11 enum struct 2018-12-15 13:24:29 +00:00
widgets QTableView: Fix keyboard navigation with disabled rows 2018-12-18 05:33:52 +00:00
xml Don't indefinitely wait for data if it was able to read some data 2018-01-24 05:54:31 +00:00
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h Rework QNetworkReply tests to use docker-based test servers 2018-07-27 17:40:27 +00:00
testserver.pri Postpone testing docker images and files until running 'make check' 2018-08-30 04:06:51 +00:00