diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-06-15 00:49:18 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-06-15 00:49:18 (GMT) |
commit | 171ad741fda84384a64ce56c847de7667051914c (patch) | |
tree | de75d9f22cf2315425bfb091542af7cb65e39641 /tests/auto/qglyphs/tst_qglyphs.cpp | |
parent | 23306a399c0703eea7420231903c850566bfe2f0 (diff) | |
download | Qt-171ad741fda84384a64ce56c847de7667051914c.zip Qt-171ad741fda84384a64ce56c847de7667051914c.tar.gz Qt-171ad741fda84384a64ce56c847de7667051914c.tar.bz2 |
Fix tst_QGlyphs to pass on Windows XP
Hangul not supported on XP by default, so change the script in the
tests to greek instead.
Diffstat (limited to 'tests/auto/qglyphs/tst_qglyphs.cpp')
-rw-r--r-- | tests/auto/qglyphs/tst_qglyphs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qglyphs/tst_qglyphs.cpp b/tests/auto/qglyphs/tst_qglyphs.cpp index 90309ea..5df5889 100644 --- a/tests/auto/qglyphs/tst_qglyphs.cpp +++ b/tests/auto/qglyphs/tst_qglyphs.cpp @@ -46,7 +46,7 @@ #include <qtextlayout.h> #include <qfontdatabase.h> -//#define DEBUG_SAVE_IMAGE +#define DEBUG_SAVE_IMAGE class tst_QGlyphs: public QObject { @@ -305,7 +305,7 @@ void tst_QGlyphs::drawNonExistentGlyphs() void tst_QGlyphs::drawMultiScriptText1() { QString text; - text += QChar(0x3131); // Hangul, Kiyeok + text += QChar(0x03D0); // Greek, beta QTextLayout textLayout(text); textLayout.beginLayout(); @@ -349,7 +349,7 @@ void tst_QGlyphs::drawMultiScriptText2() QString text; text += QChar(0x0621); // Arabic, Hamza - text += QChar(0x3131); // Hangul, Kiyeok + text += QChar(0x03D0); // Greek, beta QTextLayout textLayout(text); textLayout.beginLayout(); |