summaryrefslogtreecommitdiffstats
path: root/tests/auto/qcomplextext/bidireorderstring.h
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-06-22 12:23:47 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2011-06-22 12:59:08 (GMT)
commita5c3064439a9f1483565e5d9dfbf0342cd9236f0 (patch)
tree6a6ef44309ff8983da8a54585f9360b41ef2ad56 /tests/auto/qcomplextext/bidireorderstring.h
parent2066945370f9d34cf9cff52f87d2f0e78dcb5b09 (diff)
downloadQt-a5c3064439a9f1483565e5d9dfbf0342cd9236f0.zip
Qt-a5c3064439a9f1483565e5d9dfbf0342cd9236f0.tar.gz
Qt-a5c3064439a9f1483565e5d9dfbf0342cd9236f0.tar.bz2
Skip boundry neutral characters in bidi itemization
According to UAX #9, bidiItemize should act as if those characters don't exist. If we don't, dir and status.eor here may become QChar::DirBN, thus interfere the result of bidiItemize. Task-number: QTBUG-19949 Reviewed-by: Lars Knoll
Diffstat (limited to 'tests/auto/qcomplextext/bidireorderstring.h')
-rw-r--r--tests/auto/qcomplextext/bidireorderstring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qcomplextext/bidireorderstring.h b/tests/auto/qcomplextext/bidireorderstring.h
index e51011e..e0bbf6e 100644
--- a/tests/auto/qcomplextext/bidireorderstring.h
+++ b/tests/auto/qcomplextext/bidireorderstring.h
@@ -145,6 +145,7 @@ const LV logical_visual[] = {
{ "embed10", "\342\200\253x \327\251\327\234\327\225\327\235 y\342\200\254", "\342\200\254y \327\235\327\225\327\234\327\251 x\342\200\253", QChar::DirL },
{ "embed11", "\342\200\252x \327\251\327\234\327\225\327\235 y\342\200\254", "\342\200\252x \327\235\327\225\327\234\327\251 y\342\200\254", QChar::DirR },
{ "embed12", "\342\200\253x \327\251\327\234\327\225\327\235 y\342\200\254", "\342\200\254y \327\235\327\225\327\234\327\251 x\342\200\253", QChar::DirR },
+ { "zwsp", "+0\342\200\213f-1", "+0\342\200\213f-1", QChar::DirL },
{ 0, 0, 0, QChar::DirON }
};