Back port change d85b149a5c7f3532f8e1a593a79298c9ae38a95f
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Thu, 27 May 2010 10:04:19 +0000 (12:04 +0200)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Thu, 27 May 2010 11:12:04 +0000 (13:12 +0200)
commit4085d3eef59763b91ae63818b5885e1027eef3c1
treeeb3cc20529cde5b93a002862de603e42e7bb2c22
parent9dcc2de14862da0bba6b74c51ac6e7a5193d4f08
Back port change d85b149a5c7f3532f8e1a593a79298c9ae38a95f

Fixes right alignment of monospaced text, which was a regression in
Qt 4.6.0. Initially it was fixed in Qt 4.7 only, but the regression was
later deemed severe enough to fix in 4.6.x as well.

Task-number: QTBUG-8864
Reviewed-by: thorbjorn
src/gui/painting/qpainter.cpp
src/gui/text/qtextengine_p.h
src/gui/text/qtextlayout.cpp