Index: Source/core/rendering/svg/SVGTextRunRenderingContext.cpp |
diff --git a/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp b/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp |
index 2906739ad84cdd5b46a75d1248229d40196c55fa..a78971585e0190da64e61eee673ab8fa189bd90c 100644 |
--- a/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp |
+++ b/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp |
@@ -126,7 +126,7 @@ void SVGTextRunRenderingContext::drawSVGGlyphs(GraphicsContext* context, const T |
if (!glyph) |
continue; |
- float advance = glyphBuffer.advanceAt(from + i); |
+ float advance = glyphBuffer.advanceAt(from + i).width(); |
SVGGlyph svgGlyph = fontElement->svgGlyphForGlyph(glyph); |
ASSERT(!svgGlyph.isPartOfLigature); |
ASSERT(svgGlyph.tableEntry == glyph); |