Don't round Text dimensions.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Thu, 23 Feb 2012 03:25:58 +0000 (13:25 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 29 Feb 2012 04:22:53 +0000 (05:22 +0100)
commit4e0e0e5cc59a0e5379dcc1964976288d3c3e1b82
tree7c7a2038d0eecd58a975725f86dcbf84ae0825b5
parent7fa6fcd30cb4a688eae744cae4abf9f263c16616
Don't round Text dimensions.

Painting issues in QtQuick1 meant drawing had to be aligned to pixel
boundaries, since this is no longer a problem we should use qreal
everywhere.

Change-Id: I58e88e10270fa603170f1cedf471bfb53bd89b73
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
src/quick/items/qquicktext.cpp
src/quick/items/qquicktext_p_p.h
tests/auto/qtquick2/qquicktext/data/multilengthStrings.qml
tests/auto/qtquick2/qquicktext/data/multilengthStringsWrapped.qml
tests/auto/qtquick2/qquicktext/tst_qquicktext.cpp