ASF Bugzilla – Attachment 25593 Details for
Bug 45723
[PATCH] startOffset attribute of textPath cannot be animated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible Patch from Sebastian
textPath-startOffset.patch (text/plain), 1.05 KB, created by
Thomas Deweese
on 2010-06-15 05:56:30 UTC
(
hide
)
Description:
Possible Patch from Sebastian
Filename:
MIME Type:
Creator:
Thomas Deweese
Created:
2010-06-15 05:56:30 UTC
Size:
1.05 KB
patch
obsolete
>Index: sources/org/apache/batik/bridge/SVGTextElementBridge.java >=================================================================== >--- sources/org/apache/batik/bridge/SVGTextElementBridge.java (Revision 746227) >+++ sources/org/apache/batik/bridge/SVGTextElementBridge.java (Arbeitskopie) >@@ -550,6 +550,15 @@ > } > } > >+ public void handleDOMAttrModifiedEvent(MutationEvent evt) { >+ Node childNode = (Node)evt.getTarget(); >+ //if the parent is displayed, then discard the layout. >+ if (isParentDisplayed(childNode)) { >+ laidoutText = null; >+ computeLaidoutText(ctx, e, getTextNode()); >+ } >+ } >+ > /** > * Invoked when an MutationEvent of type 'DOMNodeRemoved' is fired. > */ >@@ -2157,7 +2166,7 @@ > * Invoked when an MutationEvent of type 'DOMAttrModified' is fired. > */ > public void handleDOMAttrModifiedEvent(MutationEvent evt) { >- //nothing to do >+ textBridge.handleDOMAttrModifiedEvent(evt); > } > > /**
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 45723
:
22507
| 25593