qt5base-lts/tests/auto/gui/text
Konstantin Ritt 88e735c9c9 Shift positions for lineBreakType
to keep them consistent with positions for all other flags.
This changes the internal behavior so that attributes[0].lineBreakType now means
"break opportunity at start of the text (before the first character in the string)"
and is always assigned with HB_NoBreak to conform rule LB2
(see http://www.unicode.org/reports/tr14/#LB2).

The current implementation is based on the sample implementation from tr14
that aimed to be as simple as possible rather than to be optimal.
From now, we can use pieces of the attributes array "as is"
without having to adjust some positions. Or we can analize some long text
by chunks (e.g. paragraph by paragraph) and consume less memory.

This introduces a minor overhead that will be eliminated shortly.

Change-Id: Ic873a05a9d5203b1c3d5aff2e4445a3f034c4bd2
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-06-07 21:18:36 +02:00
..
qabstracttextdocumentlayout Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qcssparser Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qfont Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qfontdatabase Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qfontmetrics Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qglyphrun Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qrawfont Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qstatictext Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qsyntaxhighlighter Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtextblock Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtextcursor Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtextdocument Change remaining uses of {to,from}Ascii to {to,from}Latin1 [QtGui] 2012-05-04 12:45:52 +02:00
qtextdocumentfragment Fixed unused function warning in qtextdocumentfragment test. 2012-05-28 01:12:34 +02:00
qtextdocumentlayout Make qtextdocumentlayout autotest build without widgets 2012-06-07 00:37:55 +02:00
qtextformat Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtextlayout Shift positions for lineBreakType 2012-06-07 21:18:36 +02:00
qtextlist Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtextobject Make qtextobject autotest build without widgets 2012-06-07 00:37:52 +02:00
qtextodfwriter Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtextpiecetable Clean up some auto tests of gui 2012-03-12 13:14:05 +01:00
qtextscriptengine Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtexttable Make qtexttable autotest build without widgets 2012-06-07 07:26:05 +02:00
qzip Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
text.pro Start running some disabled tests again on Mac OS. 2012-04-23 09:46:22 +02:00