| Index: Source/core/rendering/svg/SVGTextRunRenderingContext.cpp
|
| diff --git a/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp b/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp
|
| index 3c2b38925df950e1fab5258e5d7f852c4e1f0681..a38cb6f3d92b23330f5b48984789e69ddb2b269a 100644
|
| --- a/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp
|
| +++ b/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp
|
| @@ -123,8 +123,11 @@ void SVGTextRunRenderingContext::drawSVGGlyphs(GraphicsContext* context, const T
|
| glyphOrigin.setX(svgFontData->horizontalOriginX() * scale);
|
| glyphOrigin.setY(svgFontData->horizontalOriginY() * scale);
|
|
|
| + unsigned short resourceMode = context->textDrawingMode() == TextModeStroke ? ApplyToStrokeMode : ApplyToFillMode;
|
| + // From a resource perspective this ought to be treated as "text mode".
|
| + resourceMode |= ApplyToTextMode;
|
| +
|
| FloatPoint currentPoint = point;
|
| - RenderSVGResourceMode resourceMode = context->textDrawingMode() == TextModeStroke ? ApplyToStrokeMode : ApplyToFillMode;
|
| for (int i = 0; i < numGlyphs; ++i) {
|
| Glyph glyph = glyphBuffer.glyphAt(from + i);
|
| if (!glyph)
|
|
|