From 04b50ed01181df462d85790fefaa77c543778ff6 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Tue, 11 Feb 2020 14:12:25 +0100 Subject: [PATCH] Remove work-around from thaiWithZWJ test We added a work-around to disable the test when the Waree Book font was not available, but this also excludes perfectly valid versions of the font, so it is a bit unfortunate. Change-Id: Ibeeff78d87acc384c1aa1b01e988edd524c60575 Reviewed-by: Lars Knoll --- .../auto/gui/text/qtextscriptengine/tst_qtextscriptengine.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/auto/gui/text/qtextscriptengine/tst_qtextscriptengine.cpp b/tests/auto/gui/text/qtextscriptengine/tst_qtextscriptengine.cpp index 0371f51961..348042bacb 100644 --- a/tests/auto/gui/text/qtextscriptengine/tst_qtextscriptengine.cpp +++ b/tests/auto/gui/text/qtextscriptengine/tst_qtextscriptengine.cpp @@ -1217,9 +1217,6 @@ void tst_QTextScriptEngine::thaiWithZWJ() QFont font(QStringLiteral("Waree")); font.setStyleStrategy(QFont::NoFontMerging); - if (QFontInfo(font).styleName() != QStringLiteral("Book")) - QSKIP("couldn't find 'Waree Book' font"); - QString s(QString::fromUtf8("\xe0\xb8\xa3\xe2\x80\x8d\xe0\xb8\xa3\xe2\x80" "\x8c\x2e\xe0\xb8\xa3\x2e\xe2\x80\x9c\xe0\xb8" "\xa3\xe2\x80\xa6\xe0\xb8\xa3\xe2\x80\x9d\xe0"