Index: Source/core/paint/SVGInlineTextBoxPainter.cpp |
diff --git a/Source/core/paint/SVGInlineTextBoxPainter.cpp b/Source/core/paint/SVGInlineTextBoxPainter.cpp |
index b0e2f49342daccfdbb9d95434cc44b782d375f07..e6d47bc8838cbe5175f2c2ee45e8923703fb68f9 100644 |
--- a/Source/core/paint/SVGInlineTextBoxPainter.cpp |
+++ b/Source/core/paint/SVGInlineTextBoxPainter.cpp |
@@ -329,7 +329,6 @@ void SVGInlineTextBoxPainter::paintTextWithShadows(const PaintInfo& paintInfo, c |
additionalPaintServerTransform = &paintServerTransform; |
} |
- // FIXME: Non-scaling stroke is not applied here. |
SkPaint paint; |
if (!SVGPaintContext::paintForLayoutObject(paintInfo, style, m_svgInlineTextBox.parent()->layoutObject(), resourceMode, paint, additionalPaintServerTransform)) |
return; |
@@ -344,7 +343,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); |
} |