summaryrefslogtreecommitdiffstats
path: root/tests/auto/qglyphs
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-06-15 02:49:18 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-06-15 02:49:18 +0200
commit171ad741fda84384a64ce56c847de7667051914c (patch)
treede75d9f22cf2315425bfb091542af7cb65e39641 /tests/auto/qglyphs
parent23306a399c0703eea7420231903c850566bfe2f0 (diff)
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')
-rw-r--r--tests/auto/qglyphs/tst_qglyphs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qglyphs/tst_qglyphs.cpp b/tests/auto/qglyphs/tst_qglyphs.cpp
index 90309eacee..5df588914f 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();