I check some SVG-Files, big one, small one, with and without embedded images and I get every times a perfekt result without exceptions. GREAT!
Best Regards
Stefan Neudorfer
Paulo Soares wrote:
In PdfGraphics2D.getDeviceConfiguration() replace with: public GraphicsConfiguration getDeviceConfiguration() { return ((Graphics2D)dg2).getDeviceConfiguration(); }Tell me if it works. I tried to create a new GraphicsConfiguration but in jdk 1.4 there are more abstract methods and a new class (VolatileImage) that doesn't exist in earlier versions. The guys at FOP do it with preprocessing filters but I wanted to avoid that. Best Regards, Paulo Soares-----Original Message----- From: Paulo Soares [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 11:07 To: 'Stefan Neudorfer'; [EMAIL PROTECTED] Subject: RE: [iText-questions] Using SVG ? -> UnsupportedOperationExceptio n I'll have it return something meaningful in the next release. Best Regards, Paulo Soares-----Original Message----- From: Stefan Neudorfer [SMTP:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 19:11 To: [EMAIL PROTECTED] Subject: [iText-questions] Using SVG ? -> UnsupportedOperationException When I use the graphics2d-Implementation from IText to output a SVG-Image (with apache-batik) then I get aUnsupportedOperationException.What can I do? Does someone have an implementation that works correct? Exception java.lang.UnsupportedOperationException atcom.lowagie.text.pdf.PdfGraphics2D.getDeviceConfiguration(pdfgraphics2d.java:325) at org.apache.batik.ext.awt.image.GraphicsUtil.getDestination(UnknownSource)atorg.apache.batik.ext.awt.image.GraphicsUtil.getDestinationColorModel(Unknown Source) atorg.apache.batik.ext.awt.image.GraphicsUtil.getDestinationColorSpace(Unknown Source) at org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(Unknown Source) at org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(Unknown Source) at org.apache.batik.gvt.RasterImageNode.primitivePaint(Unknown Source) at org.apache.batik.gvt.AbstractGraphicsNode.paint(UnknownSource)at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(UnknownSource)at org.apache.batik.gvt.AbstractGraphicsNode.paint(UnknownSource)at org.apache.batik.gvt.ImageNode.paint(Unknown Source) at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(UnknownSource)at org.apache.batik.gvt.AbstractGraphicsNode.paint(UnknownSource)at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(UnknownSource)at org.apache.batik.gvt.AbstractGraphicsNode.paint(UnknownSource)at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(UnknownSource)at org.apache.batik.gvt.CanvasGraphicsNode.primitivePaint(Unknown Source) at org.apache.batik.gvt.AbstractGraphicsNode.paint(UnknownSource)at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(UnknownSource)at org.apache.batik.gvt.AbstractGraphicsNode.paint(UnknownSource)------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
