Hi
I'm using batik1.7 for viewing svg file.
Inside batik1.7 there is an executable jar batik-squiggle using that
one,when trying to open this file it will throw the following exception
SVG Error:
negative width
java.lang.IllegalArgumentException: negative width
at java.awt.BasicStroke.<init>(Unknown Source)
at
org.apache.batik.bridge.PaintServer.convertStroke(PaintServer.java:508)
at
org.apache.batik.bridge.PaintServer.convertStrokePainter(PaintServer.java:172)
at
org.apache.batik.bridge.SVGLineElementBridge.createFillStrokePainter(SVGLineElementBridge.java:81)
at
org.apache.batik.bridge.SVGDecoratedShapeElementBridge.createShapePainter(SVGDecoratedShapeElementBridge.java:84)
at
org.apache.batik.bridge.SVGShapeElementBridge.buildGraphicsNode(SVGShapeElementBridge.java:91)
at
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:224)
at
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:141)
at
org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode(SVGUseElementBridge.java:216)
at
org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(SVGUseElementBridge.java:98)
at
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:213)
at
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
at
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:219)
at
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
at
org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:219)
at
org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171)
at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:82)
at org.apache.batik.swing.svg.GVTTreeBuilder.run(GVTTreeBuilder.java:96)
I attached a svg format file which I'm trying to open, named result.svg
inside the zip file.
http://www.nabble.com/file/p16890708/result.zip result.zip
--
View this message in context:
http://www.nabble.com/Exception-in-loading-svg-file-tp16890708p16890708.html
Sent from the Batik - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]