Skip mixedScript test on platforms with no Hangul font
This test depends on the system actually supporting Korean text, otherwise it will just return a single glyph run with the digit and the missing glyph symbol. Pick-to: 6.5 6.6 Fixes: QTBUG-118649 Change-Id: I54e55414ae4ba0a6328c7c3a57ae8840d3b123b1 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
parent
58c7249ee8
commit
c5b3fd134b
@ -1,7 +0,0 @@
|
||||
# QTBUG-68860
|
||||
[mixedScripts]
|
||||
ubuntu-18.04
|
||||
ubuntu-20.04
|
||||
ubuntu-22.04
|
||||
# QTBUG-100928
|
||||
qnx
|
@ -563,6 +563,9 @@ void tst_QGlyphRun::boundingRect()
|
||||
|
||||
void tst_QGlyphRun::mixedScripts()
|
||||
{
|
||||
if (QFontDatabase::families(QFontDatabase::Korean).isEmpty())
|
||||
QSKIP("This test requires support for Hangul text");
|
||||
|
||||
QString s;
|
||||
s += QChar(0x31); // The character '1'
|
||||
s += QChar(0xbc14); // Hangul character
|
||||
|
Loading…
Reference in New Issue
Block a user