qt5base-lts/tests/auto/gui/text/qglyphrun
Eskil Abrahamsen Blomfeldt 8b485664e4 Fix flakiness in tst_QGlyphRun::drawRightToLeft
As described in 3279c8e7d7, we can't
depend on the widths of decoration to always be the same for
drawText() and equivalent drawStaticText/drawGlyphRun.

This is typically visible as an off-by-one when using the default
fonts on OpenSUSE.

Since this test was actually made to test positions of RTL glyphs,
we can just disable the decoration and simplify the text.

Fixes: QTBUG-89086
Change-Id: I139fe3e1c5e98d8b1d7e0e7c19645fd4717d1d95
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2021-02-04 18:02:34 +01:00
..
BLACKLIST Fix flakiness in tst_QGlyphRun::drawRightToLeft 2021-02-04 18:02:34 +01:00
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
testdata.qrc QStyleSheetStyle: Don't interfere with QFontDialog 2014-10-24 16:59:26 +02:00
tst_qglyphrun.cpp Fix flakiness in tst_QGlyphRun::drawRightToLeft 2021-02-04 18:02:34 +01:00