Index: Source/core/rendering/svg/SVGTextLayoutEngine.cpp |
diff --git a/Source/core/rendering/svg/SVGTextLayoutEngine.cpp b/Source/core/rendering/svg/SVGTextLayoutEngine.cpp |
index f74577aa4d22f6c8235d179d2ba714baeae16028..86d715b9bb56f1d1b29ab60cf36542312da42dee 100644 |
--- a/Source/core/rendering/svg/SVGTextLayoutEngine.cpp |
+++ b/Source/core/rendering/svg/SVGTextLayoutEngine.cpp |
@@ -510,8 +510,8 @@ void SVGTextLayoutEngine::layoutTextOnLineOrPath(SVGInlineTextBox* textBox, Rend |
// Calculate SVG Fonts kerning, if needed. |
float kerning = spacingLayout.calculateSVGKerning(m_isVerticalText, visualMetrics.glyph()); |
- // Calculate CSS 'kerning', 'letter-spacing' and 'word-spacing' for next character, if needed. |
- float spacing = spacingLayout.calculateCSSKerningAndSpacing(svgStyle, lengthContext, currentCharacter); |
+ // Calculate CSS 'letter-spacing' and 'word-spacing' for next character, if needed. |
+ float spacing = spacingLayout.calculateCSSSpacing(currentCharacter); |
float textPathOffset = 0; |
if (m_inPathLayout) { |