Fix bounding box of DirectWrite font engine
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Mon, 9 Jul 2012 12:14:36 +0000 (14:14 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 9 Jul 2012 13:55:49 +0000 (15:55 +0200)
commit6fb5b6fa58df4b622d47a8d71ba0f5f2b938cd63
treee8195d32ec35c9f535f7225de915250f41b1ec45
parentbcf6333c6f6266e2f26efd1a3c4fe38c574161c8
Fix bounding box of DirectWrite font engine

Vertical bearings of the font were ignored, giving the wrong height.
Also, the left bearing is right bound in DirectWrite, so the sign
should be flipped.

Task-number: QTBUG-22649
Change-Id: I82934f5b08e68e46d1b2221b35008bf9d75c5748
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
src/plugins/platforms/windows/qwindowsfontenginedirectwrite.cpp