qt5base-lts/tests/auto/gui
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
..
image Make qpixmap autotest build without widgets 2012-06-07 00:38:41 +02:00
kernel Make gui tests build when widgets aren't available 2012-06-07 00:38:01 +02:00
math3d Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
painting Make qpainter autotest build without widgets 2012-06-07 00:37:58 +02:00
qopengl Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
text Shift positions for lineBreakType 2012-06-07 21:18:36 +02:00
util Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
gui.pro Moved tests into gui/kernel/ and gui/qopengl/ 2011-11-04 20:48:19 +01:00