From d64cb5f7073f8a219c12fce605eae35e3887f65b Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Fri, 8 Jun 2012 01:30:04 +0300 Subject: Update the Unicode Text Breaking Algorithm implementation to make it conformant to the Unicode 6.1 specifications #14 and #29. The most important changes are: * The implementation has been reworked from scratch to fix all known bugs; * Separate-out the grapheme and the line breaking implementation to eliminate an overhead due to calculating unnecessary breaks; * Stop using deprecated SG class in favor of resolving pairs of surrogates; * A proper support for SMP code points; * Support for extended grapheme clusters (a drop-in replacement for the legacy grapheme clusters as of Unicode 5.1); * The hardcoded tailoring of UBA has been eliminated which breaks the 7 years-old lineBreaking test. Some later, we'll investigate if such a tailoring is still needed. Change-Id: I9f5867b3cec753b4fc120bc5a7e20f9a73d89370 Reviewed-by: Lars Knoll --- tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/auto/gui') diff --git a/tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp b/tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp index 62cbc1fa5f..60485b30a5 100644 --- a/tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp +++ b/tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp @@ -209,7 +209,7 @@ void tst_QTextLayout::cleanup() void tst_QTextLayout::lineBreaking() { -#if defined(Q_WS_X11) +#if 0 struct Breaks { const char *utf8; uchar breaks[32]; @@ -286,8 +286,6 @@ void tst_QTextLayout::lineBreaking() QCOMPARE(b->breaks[i], (uchar)0xff); ++b; } -#else - QSKIP("This test can not be run on non-X11 platforms"); #endif } -- cgit v1.2.3