qt5base-lts/tests/auto/gui
Eskil Abrahamsen Blomfeldt b56a42be14 REG: Fix nbsp in QTextLayout
At some point since Qt 4.8, the nbsp character has acquired
the whitespace attribute, causing it to be treated exactly
like an ordinary space. To account for this, we add an extra
check in the layout code to avoid breaking on non-breaking
spaces even if they have the whiteSpace flag set.

This is a temporary fix for the regression. The line breaking
algorithm needs to be refactored and support Unicode tr14
properly, which it currently doesn't.

[ChangeLog][Text] Fixed lines breaking on non-breaking spaces.

Task-number: QTBUG-39832
Change-Id: Ibd7e1a11ce4b82c611ecda1542c8638a67bf3cae
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
2014-07-08 08:35:02 +02:00
..
image Simplify mirroring code and add tests for non-aliged 1 bit images 2014-06-23 17:12:13 +02:00
itemmodels tests: Remove superfluous gui additions to QT 2014-02-28 17:59:29 +01:00
kernel Cocoa: Make sure modal windows get correct geometry on show 2014-05-26 11:16:38 +02:00
math3d Add operator[] to QVectorND classes 2013-08-27 17:50:40 +02:00
painting QPageLayout: provide op!= 2014-04-08 22:07:01 +02:00
qopengl Make tst_qopengl more verbose. 2014-03-31 19:50:37 +02:00
text REG: Fix nbsp in QTextLayout 2014-07-08 08:35:02 +02:00
util Bugfix QDesktopServices on Windows 2013-07-11 10:56:49 +02:00
gui.pro purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00