You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by vh...@apache.org on 2001/10/01 13:54:52 UTC
cvs commit: xml-batik/sources/org/apache/batik/bridge SVGTextElementBridge.java
vhardy 01/10/01 04:54:52
Modified: sources/org/apache/batik/bridge SVGTextElementBridge.java
Log:
Fixed problem reported by Keiron Liddle:
http://koala.ilog.fr/batik/mlists/batik-dev/archives/msg01601.html.
See samples/tests/textPCDATA.svg for test case.
Revision Changes Path
1.37 +2 -1 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.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- SVGTextElementBridge.java 2001/09/19 15:09:29 1.36
+++ SVGTextElementBridge.java 2001/10/01 11:54:52 1.37
@@ -56,7 +56,7 @@
* Bridge class for the <text> element.
*
* @author <a href="bill.haneman@ireland.sun.com>Bill Haneman</a>
- * @version $Id: SVGTextElementBridge.java,v 1.36 2001/09/19 15:09:29 tkormann Exp $
+ * @version $Id: SVGTextElementBridge.java,v 1.37 2001/10/01 11:54:52 vhardy Exp $
*/
public class SVGTextElementBridge extends AbstractSVGBridge
implements GraphicsNodeBridge, ErrorConstants {
@@ -375,6 +375,7 @@
}
break;
case Node.TEXT_NODE:
+ case Node.CDATA_SECTION_NODE:
s = n.getNodeValue();
int[] indexMap = new int[s.length()];
as = createAttributedString
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org