qt6-bb10/tests/baseline
Eskil Abrahamsen Blomfeldt 8be3c9f486 Fix clipped text when combining multiple writing systems
When a QTextLine consists of multiple different scripts and the
fonts had negative bearing, the background for a script item could
overdraw the previous item's text, causing it to look clipped.

This was because the background and text was drawn in a single pass,
and moving the background drawing into its own pre-pass fixes the
issue.

[ChangeLog][QtGui] Fixed an issue where drawing text from different
writing systems in the same line and including a background could
cause parts of the text to be clipped.

Pick-to: 6.5 6.6 6.7
Fixes: QTBUG-121040
Change-Id: I3f79e6d33c09a2a92853bc8752dbe11a0bea2dd0
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
2024-01-25 15:05:23 +01:00
..
painting Fix the pdf testing in the painting baseline test 2024-01-08 15:06:18 +00:00
shared tests: port assorted trivial uses of Q_FOREACH to ranged for loops 2023-08-14 23:11:54 +03:00
stylesheet StyleSheet: use item background rule when filling row backround 2022-10-25 05:16:15 +02:00
text Fix clipped text when combining multiple writing systems 2024-01-25 15:05:23 +01:00
widgets Adjust window rectangle for menu baseline test case 2023-03-17 15:50:30 +01:00
CMakeLists.txt tests: fix configuring with -no-feature-gui 2022-10-29 01:04:09 +02:00