qt5base-lts/tests/auto
Eskil Abrahamsen Blomfeldt c9d991de1f Fix missing text when Harfbuzz fails to shape a substring
This amends fccd419dd6.

If Harfbuzz failed on one of the items in a string and returned
zero glyphs, then we would exit the shaping loop. The mentioned
change fixed a crash related to this when the ignored character
was the only character in the string, but it occurred in a
subitem of a longer string, then we would return and fail to
lay out the rest of the string.

This popped up recently because an update to Harfbuzz has caused
it to return zero glyphs when applying the Apple emoji font to
an isolated variant character (see bug report). When we matched
the symbol to the main font and only the variant character to
the emoji font, we would get in this situation, and end up
exiting the shaping early.

[ChangeLog][QtGui][Text] Fixed a regression which would
sometimes cause text to disappear if the string contained
an unmatched variation selector character.

Pick-to: 6.4
Fixes: QTBUG-108799
Change-Id: I616ab1b2d33c2df731419c5ce06fbc578a625a32
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-12-05 07:55:43 +01:00
..
bic/data Revert "Add binary compatibility file generated against 6.4.0" 2022-11-17 13:52:02 +00:00
cmake CMake: Add auto test for qt_add_resources dependency rebuilding 2022-12-02 20:53:01 +01:00
concurrent Temporarily skip tst_qtcuncurrentrun::pollForIsFinished in emulator 2022-11-30 18:01:47 +01:00
corelib QMessageLogger: make qFatal categorized and streamable 2022-12-05 04:15:39 +01:00
dbus Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
gui Fix missing text when Harfbuzz fails to shape a substring 2022-12-05 07:55:43 +01:00
guiapplauncher
network Try fixing auto-tests that need resolving openssl symbols 2022-12-02 15:55:11 +01:00
opengl
other Blacklist tst_gestures on OpenSuSE 2022-11-24 09:06:47 +00:00
printsupport Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
shared Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sql SQL/MySQL: fix handling of json column 2022-12-05 01:56:45 +00:00
testlib Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
tools moc: Output the "cloned" flag for methods 2022-11-27 12:47:30 +01:00
wasm Fix typo in QWasmWindowStack's name 2022-10-20 16:36:23 +02:00
widgets Deliver tablet events to the toplevel widget if there is no child 2022-12-02 23:10:05 +00:00
xml Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
CMakeLists.txt Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
network-settings.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00