deweese 2003/03/19 17:40:31
Modified: sources/org/apache/batik/bridge SVGTextElementBridge.java
Log:
1) Fixed bug in text relayout when child is modified.
Revision Changes Path
1.78 +5 -3
xml-batik/sources/org/apache/batik/bridge/SVGTextElementBridge.java
Index: SVGTextElementBridge.java
===================================================================
RCS file:
/home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGTextElementBridge.java,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -r1.77 -r1.78
--- SVGTextElementBridge.java 20 Mar 2003 00:18:59 -0000 1.77
+++ SVGTextElementBridge.java 20 Mar 2003 01:40:31 -0000 1.78
@@ -2071,7 +2071,8 @@
attrName.equals(SVG_DY_ATTRIBUTE) ||
attrName.equals(SVG_ROTATE_ATTRIBUTE)) {
//recompute the layout of the text node
- textBridge.computeLayoutedText(ctx, e, node);
+ textBridge.computeLayoutedText(ctx, textBridge.e,
+ textBridge.node);
}
}
}
@@ -2113,7 +2114,8 @@
attrName.equals(SVG_DY_ATTRIBUTE) ||
attrName.equals(SVG_ROTATE_ATTRIBUTE)) {
//recompute the layout of the text node
- textBridge.computeLayoutedText(ctx, e, node);
+ textBridge.computeLayoutedText(ctx, textBridge.e,
+ textBridge.node);
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]