diff options
Diffstat (limited to 'Source/WebCore/rendering/svg/SVGTextLayoutEngine.cpp')
-rw-r--r-- | Source/WebCore/rendering/svg/SVGTextLayoutEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/rendering/svg/SVGTextLayoutEngine.cpp b/Source/WebCore/rendering/svg/SVGTextLayoutEngine.cpp index 3b28d2b..c25ed79 100644 --- a/Source/WebCore/rendering/svg/SVGTextLayoutEngine.cpp +++ b/Source/WebCore/rendering/svg/SVGTextLayoutEngine.cpp @@ -310,7 +310,7 @@ void SVGTextLayoutEngine::finalizeTransformMatrices(Vector<SVGInlineTextBox*>& b SVGTextFragment& fragment = fragments.at(i); AffineTransform& transform = fragment.transform; if (!transform.isIdentity()) { - transform.translateRight(fragment.x, fragment.y); + transform = AffineTransform::translation(fragment.x, fragment.y) * transform; transform.translate(-fragment.x, -fragment.y); } |