Index: Source/core/paint/SVGInlineTextBoxPainter.cpp |
diff --git a/Source/core/paint/SVGInlineTextBoxPainter.cpp b/Source/core/paint/SVGInlineTextBoxPainter.cpp |
index b0e2f49342daccfdbb9d95434cc44b782d375f07..741654bcf6908f7dec7df2811e2c7bc02675f001 100644 |
--- a/Source/core/paint/SVGInlineTextBoxPainter.cpp |
+++ b/Source/core/paint/SVGInlineTextBoxPainter.cpp |
@@ -344,7 +344,8 @@ void SVGInlineTextBoxPainter::paintTextWithShadows(const PaintInfo& paintInfo, c |
if (resourceMode == ApplyToStrokeMode) { |
StrokeData strokeData; |
SVGLayoutSupport::applyStrokeStyleToStrokeData(strokeData, style, m_svgInlineTextBox.parent()->layoutObject()); |
- strokeData.setThickness(strokeData.thickness() * scalingFactor); |
+ if (style.svgStyle().vectorEffect() != VE_NON_SCALING_STROKE) |
+ strokeData.setThickness(strokeData.thickness() * scalingFactor); |
strokeData.setupPaint(&paint); |
} |