diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-01-15 13:18:43 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-01-15 13:18:43 (GMT) |
commit | 4b01aa0eb6e4f13b5b3a822a9e60f88a61b4d591 (patch) | |
tree | 7a37edd1dda6df78c5d340345c17bea3561b8c26 /src/gui/painting/qpainter.cpp | |
parent | 4e568e32ccfc758caa302ca1e785f2208073c991 (diff) | |
download | Qt-4b01aa0eb6e4f13b5b3a822a9e60f88a61b4d591.zip Qt-4b01aa0eb6e4f13b5b3a822a9e60f88a61b4d591.tar.gz Qt-4b01aa0eb6e4f13b5b3a822a9e60f88a61b4d591.tar.bz2 |
Use fallback when drawing projected text
Projected text always has to go via paths, so we use the fall back for
this.
Diffstat (limited to 'src/gui/painting/qpainter.cpp')
-rw-r--r-- | src/gui/painting/qpainter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp index 114492d..54eed03 100644 --- a/src/gui/painting/qpainter.cpp +++ b/src/gui/painting/qpainter.cpp @@ -5735,7 +5735,7 @@ void QPainter::drawStaticText(const QPointF &position, const QStaticText &static // If we don't have an extended paint engine, or if the painter is transformed, // we go through standard code path - if (d->extended == 0) { + if (d->extended == 0 || !d->state->matrix.isAffine()) { if (staticText_d->size.isValid()) drawText(QRectF(position, staticText_d->size), staticText_d->text); else |