I've successfully converted all of the dev/svg/*.svg files to *.png & *.pdf. But I'm having trouble converting link.svg to link.pdf for the xml-fop web site. I get a corrupt file (4K) when I'm done.

NOTE: I was having trouble with images.svg => images.pdf until I added the logo.jpg file to the xml-fop/src/documentation/content/xdocs/dev/svg/ directory. I don't see a similar problem with link.svg that I can 'fix' as easily.

[OT]
I'm choosing to transform SVG => PNG & PDF 'manually' (rather than let the Forrest/Cocoon transformation to do it) since I'm having problems getting Forrest to do it using the sitemap.xmap transformation process.


If someone could transform this link.svg => link.pdf (or point me in the direction of how to do this) that would be great! The file is here:

<http://cvs.apache.org/viewcvs.cgi/xml-fop/src/documentation/content/ xdocs/dev/svg/link.svg?rev=1.2&view=log>

Here's the stacktrace:

[EMAIL PROTECTED] batik-1.5.1]$ java -jar batik-rasterizer.jar -d /Users/Shared/_WebDLs/_repos/xml-fop/src/documentation/content/xdocs/ dev/svg/ -m application/pdf /Users/Shared/_WebDLs/_repos/xml-fop/src/documentation/content/xdocs/ dev/svg/link.svgAbout to transcode 1 SVG file(s)

Converting link.svg to /Users/Shared/_WebDLs/_repos/xml-fop/src/documentation/content/xdocs/ dev/svg/link.pdf ... java.lang.IllegalStateException: Object has no number assigned: [EMAIL PROTECTED]
at org.apache.fop.pdf.PDFObject.getObjectNumber(PDFObject.java:94)
at org.apache.fop.pdf.PDFObject.referencePDF(PDFObject.java:170)
at org.apache.fop.pdf.PDFFactory.makeLink(PDFFactory.java:807)
at org.apache.fop.svg.PDFGraphics2D.addLink(PDFGraphics2D.java:328)
at org.apache.fop.svg.PDFANode.paint(PDFANode.java:150)
at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
at org.apache.batik.gvt.CanvasGraphicsNode.primitivePaint(Unknown Source)
at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
at org.apache.fop.svg.PDFTranscoder.transcode(PDFTranscoder.java:180)
at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown Source)
at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(Unknown Source)
at org.apache.batik.apps.rasterizer.SVGConverter.transcode(Unknown Source)
at org.apache.batik.apps.rasterizer.SVGConverter.execute(Unknown Source)
at org.apache.batik.apps.rasterizer.Main.execute(Unknown Source)
at org.apache.batik.apps.rasterizer.Main.main(Unknown Source)
... error (SVGConverter.error.while.rasterizing.file)
[EMAIL PROTECTED] batik-1.5.1]$



Web Maestro Clay -- Clay Leeds - <[EMAIL PROTECTED]> Webmaster/Developer - Medata, Inc. - <http://www.medata.com/> PGP Public Key: <https://mail.medata.com/pgp/cleeds.asc>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to