Prevent consecutive images from climbing up a text node.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Mon, 5 Dec 2011 01:29:04 +0000 (11:29 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 7 Dec 2011 04:49:46 +0000 (05:49 +0100)
commit8f57fae59ca501b968c3e7d27100e4753b1e0602
tree10bd18b68d61c30f42ecb135dac957681a8d25c6
parent65b2bcf4e6317d29294a389531e8d63d33f2a5b8
Prevent consecutive images from climbing up a text node.

Vertically position all nodes at the baseline minus their ascent.
Previously the bounding rect of a glyph run was postioned on the base
line and  images at the baseline minus the ascent.  This meant that
calculated position of an image was correct if it followed text but
if it followed another image it would be positioned above it.

Change-Id: I03f5e0b48f132f010d16c49620fa9463873f9492
Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
src/quick/items/qquicktextnode.cpp