summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qprintengine_win.cpp
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond@trolltech.com>2009-03-31 09:07:07 (GMT)
committerTrond Kjernåsen <trond@trolltech.com>2009-03-31 09:10:22 (GMT)
commit3d370dc92466b010bfe6cdd82411f7e3d13da7c1 (patch)
tree9d726dea65ee37c40b852c7555b068a004a869ef /src/gui/painting/qprintengine_win.cpp
parenta0601e169c114f66c5fb932a6cc8606a8151bebc (diff)
downloadQt-3d370dc92466b010bfe6cdd82411f7e3d13da7c1.zip
Qt-3d370dc92466b010bfe6cdd82411f7e3d13da7c1.tar.gz
Qt-3d370dc92466b010bfe6cdd82411f7e3d13da7c1.tar.bz2
Fix text drawing and perspective transforms for the Windows, PDF and
PostScript print engines. The PDF/PostScript does not support perspective transforms, so it has to be emulated through our draw_helper() fallback. PostScript doesn't support alpha blending, so all perspective drawing needs to be forced through the alpha print engine. Task-number: 249754 Reviewed-by: Samuel
Diffstat (limited to 'src/gui/painting/qprintengine_win.cpp')
-rw-r--r--src/gui/painting/qprintengine_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qprintengine_win.cpp b/src/gui/painting/qprintengine_win.cpp
index d48b525..c8674b7 100644
--- a/src/gui/painting/qprintengine_win.cpp
+++ b/src/gui/painting/qprintengine_win.cpp
@@ -369,7 +369,7 @@ void QWin32PrintEngine::drawTextItem(const QPointF &p, const QTextItem &textItem
QRgb brushColor = state->pen().brush().color().rgb();
bool fallBack = state->pen().brush().style() != Qt::SolidPattern
|| qAlpha(brushColor) != 0xff
- || QT_WA_INLINE(false, d->txop >= QTransform::TxScale)
+ || QT_WA_INLINE(d->txop >= QTransform::TxProject, d->txop >= QTransform::TxScale)
|| ti.fontEngine->type() != QFontEngine::Win;