diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-10-18 08:05:57 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-10-18 08:05:57 (GMT) |
commit | 994d54f479e7c00832011cefc93b9d03d8ba1375 (patch) | |
tree | f569f66129873540e4fa9b7f9008f4be387c84a2 | |
parent | 658f7a0c04e42adc7c9e16c5338390fe580c9ede (diff) | |
download | Qt-994d54f479e7c00832011cefc93b9d03d8ba1375.zip Qt-994d54f479e7c00832011cefc93b9d03d8ba1375.tar.gz Qt-994d54f479e7c00832011cefc93b9d03d8ba1375.tar.bz2 |
Fix QDeclarativeTextLayout under non-affine transformation
Task-number: QT-4158
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativetextlayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextlayout.cpp b/src/declarative/graphicsitems/qdeclarativetextlayout.cpp index e8b5fb2..89a2158 100644 --- a/src/declarative/graphicsitems/qdeclarativetextlayout.cpp +++ b/src/declarative/graphicsitems/qdeclarativetextlayout.cpp @@ -321,7 +321,7 @@ void QDeclarativeTextLayout::draw(QPainter *painter, const QPointF &p) priv->extended->type() == QPaintEngine::OpenVG || priv->extended->type() == QPaintEngine::OpenGL); - if (!paintEngineSupportsTransformations) { + if (!paintEngineSupportsTransformations || !priv->state->matrix.isAffine()) { QTextLayout::draw(painter, p); return; } |