Clean up addTextDecorations code
authorJiang Jiang <jiang.jiang@nokia.com>
Mon, 27 Jun 2011 14:39:42 +0000 (16:39 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 29 Jun 2011 13:22:30 +0000 (15:22 +0200)
commit6050cbf08e36c93c5317373e6962ac14ffcb8d96
tree23bc3f99fcf816eda9168a8413f0c107c83d137f
parentf14cb788bdf1484ed0f7c002b5114f64fb453452
Clean up addTextDecorations code

Try avoid using QRawFont::fromFont since it requires shaping on Mac.

Change-Id: I90cc177662ecf6d0a95e722cdd0b06a01e5d0eaa
Reviewed-on: http://codereview.qt.nokia.com/793
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
src/declarative/items/qsgtextnode.cpp
src/declarative/items/qsgtextnode_p.h