path: root/tests
diff options
authorEskil Abrahamsen Blomfeldt <>2012-05-10 16:50:33 +0200
committerQt by Nokia <>2012-05-16 04:24:58 +0200
commit4959e6af8e5b8d6dbf677fcd0802e4dc43083308 (patch)
tree8ca30874ac4c426350771dbd76bae73c66980ce8 /tests
parentba300f42bdbf1e033616ee8a8054d84613b55aca (diff)
Support specifying fallbacks in font request on QPA
Because the QPA font database would query fallback families inside findFont(), support for requesting multiple font families in order of preference (like QFont("Times New Roman, Arial")) did not work, because the Arial fallback was never attempted. To fix this, we pass in the queried fallbacks and make sure they are tried before any platform specific fallbacks. Task-number: QTBUG-20986 Change-Id: Idb2b717856f013ce2874f00a8debaff60176d2fc Reviewed-by: Jiang Jiang <>
Diffstat (limited to 'tests')
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/auto/gui/text/qcssparser/tst_qcssparser.cpp b/tests/auto/gui/text/qcssparser/tst_qcssparser.cpp
index 7e0a60c859..4d50601664 100644
--- a/tests/auto/gui/text/qcssparser/tst_qcssparser.cpp
+++ b/tests/auto/gui/text/qcssparser/tst_qcssparser.cpp
@@ -1592,11 +1592,6 @@ void tst_QCssParser::extractFontFamily()
extractor.extractFont(&fnt, &adjustment);
QFontInfo info(fnt);
- // Note, we have to QSKIP rather than QEXPECT_FAIL because font lookup is broken
- // such that it may work or not work depending on the order in which fonts were
- // loaded from disk: ### fixme: Check platforms
- QSKIP("QTBUG-20986 may fail on qpa");
QTEST(, "expectedFamily");