WebCore/platform/graphics/qt/FontQt.cpp
changeset 2 303757a437d3
parent 0 4f2f89ce4247
--- a/WebCore/platform/graphics/qt/FontQt.cpp	Fri Sep 17 09:02:29 2010 +0300
+++ b/WebCore/platform/graphics/qt/FontQt.cpp	Mon Oct 04 01:32:07 2010 +0300
@@ -169,7 +169,7 @@
     int flags = run.rtl() ? Qt::TextForceRightToLeft : Qt::TextForceLeftToRight;
 #if QT_VERSION >= QT_VERSION_CHECK(4, 7, 0)
     // See QWebPagePrivate::QWebPagePrivate() where the default path is set to Complex for Qt 4.6 and earlier.
-    if (!isComplexText)
+    if (!isComplexText && !(ctx->textDrawingMode() & cTextStroke))
         flags |= Qt::TextBypassShaping;
 #endif
     if (hasShadow) {