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 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> (cherry picked from commit c5b3fd134b9e88322379fb34616662690c7acbb8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
199540dd57
commit
d40f19af75
@ -1,7 +0,0 @@
|
|||||||
# QTBUG-68860
|
|
||||||
[mixedScripts]
|
|
||||||
ubuntu-18.04
|
|
||||||
ubuntu-20.04
|
|
||||||
ubuntu-22.04
|
|
||||||
# QTBUG-100928
|
|
||||||
qnx
|
|
@ -564,6 +564,9 @@ void tst_QGlyphRun::boundingRect()
|
|||||||
|
|
||||||
void tst_QGlyphRun::mixedScripts()
|
void tst_QGlyphRun::mixedScripts()
|
||||||
{
|
{
|
||||||
|
if (QFontDatabase::families(QFontDatabase::Korean).isEmpty())
|
||||||
|
QSKIP("This test requires support for Hangul text");
|
||||||
|
|
||||||
QString s;
|
QString s;
|
||||||
s += QChar(0x31); // The character '1'
|
s += QChar(0x31); // The character '1'
|
||||||
s += QChar(0xbc14); // Hangul character
|
s += QChar(0xbc14); // Hangul character
|
||||||
|
Loading…
x
Reference in New Issue
Block a user