OSDN Git Service

Fix SVG text rendering
authorSteve Block <steveblock@google.com>
Thu, 24 Nov 2011 14:02:29 +0000 (14:02 +0000)
committerSteve Block <steveblock@google.com>
Thu, 24 Nov 2011 14:02:29 +0000 (14:02 +0000)
commit7839f0a8c60340239148921eb35c3e2afc750701
tree3d658e1608d073dfb43f921e9130d659f582751b
parent3eaf0f8cdb150a43732c8391a73046811b3c378d
Fix SVG text rendering

Android's implementation of GraphicsContext::setCTM() is broken, because Skia's
Picture mode does not support setMatrix(). This broken code was added in
https://android-git.corp.google.com/g/#/c/112636 as part of the merge to WebKit
r80534.

This change modifies SVGInlineTextBox to avoid calling
GraphicsContext::setCTM() and makes clear that the method should not be used.

Bug: 5590123
Change-Id: I45a3c8c356b7f068bb943a45b9f10cbc041331e2
Source/WebCore/platform/graphics/android/GraphicsContextAndroid.cpp
Source/WebCore/rendering/svg/SVGInlineTextBox.cpp