Re: JpegTranscoder problem

2005-01-31 Thread Thomas DeWeese
Hi Venkat, I don't really know, but my first guess would be a 'bad' font installed on the system. If the content starts using 'weird' characters (Japanese, Chinese) Batik will search your system for a font that can provide glyphs for the characters. It is possible that a 'bad' font might give

Re: AW: AW: How to force Batik to use the Xerxes Parser when transforming from SVG to JPEG?

2005-01-31 Thread Thomas DeWeese
Hi Christian, I still would suspect something odd in the set of installed Jar files. HaltingThread has only ever had one version checked in - so it is _very_ odd that you get a No such Method error. [EMAIL PROTECTED] wrote: I really didn't manage to solve the problem. This is the error on Bea-W

Re: SVG and JLayeredPane

2005-01-31 Thread Thomas DeWeese
Hi Jim, I would suggest trying to use the SwingSVGPrettyPrint class to get and SVG 'dump' of your JLayeredPane. Otherwise, I would look at the src.jar that comes with the JDK distribution to see what is going on at line 539 in JLayeredPane.java. Snyder, Jim ( GE Transportation ) wrote: I was ab

Re: Obtaining glyph bounding box

2005-01-31 Thread Thomas DeWeese
Hi James, James Shaw wrote: I am loading an SVG file containing an embedded font (and nothing else) as an SVGDocument. I wish to obtain bounding boxes for glyphs in the embedded font, without actually inserting that glyph in the DOM. What is the best way to obtain this data? Insert the glyph i

Re: Auto resize?

2005-01-31 Thread Thomas DeWeese
Caron, Michael R wrote: The JSVGComponent seems to redraw the SVG on any resize event. How do I prevent this? Well, it has to redraw for any resize event (otherwise there will be blank parts on the sides). I suspect you are objecting to the 'resize' of the content when the window is resized.

Re: Problems with loading documents...

2005-01-31 Thread Thomas DeWeese
Hi Michael, Caron, Michael R wrote: How do you get the error from the event if a certain step in the SVG loading process fails? Namely, capturing the error data from the following methods: public void gvtRenderingFailed(GVTTreeRendererEvent e) {} You can't for this one right now. I'll f

SVG and JLayeredPane

2005-01-31 Thread Snyder, Jim \( GE Transportation \)
Hello, I was able to get Batik to generate an SVG text output using the following algorithm (from the Batik website) on java components such as a JPanel ( the this instance is of JPanel). try { DOMImplementation domImpl = GenericDOMImplementation.getDOMImplem

Auto resize?

2005-01-31 Thread Caron, Michael R
Title: Auto resize? The JSVGComponent seems to redraw the SVG on any resize event. How do I prevent this? Mike

Problems with loading documents...

2005-01-31 Thread Caron, Michael R
Hi everyone, How do you get the error from the event if a certain step in the SVG loading process fails? Namely, capturing the error data from the following methods: public void gvtRenderingFailed(GVTTreeRendererEvent e) {} public void documentLoadingFailed(SVGDocumentLoaderEvent e)

AW: AW: How to force Batik to use the Xerxes Parser when transforming from SVG to JPEG?

2005-01-31 Thread Christian.Stark
Hi Thomas, I really didn't manage to solve the problem. This is the error on Bea-Weblogic. I have an SVG-File and the save_to_jpeg method. When I use it locally from an static void main function it works when I test it from a servlet (locally) I get: SAX2 driver class org.apache.xerces.parsers.S

Obtaining glyph bounding box

2005-01-31 Thread James Shaw
I am loading an SVG file containing an embedded font (and nothing else) as an SVGDocument. I wish to obtain bounding boxes for glyphs in the embedded font, without actually inserting that glyph in the DOM. What is the best way to obtain this data? Thanks in advance James Shaw ---

JpegTranscoder problem

2005-01-31 Thread Venkat Kota
Hi I am using JPEGTranscoder for converting SVG images into JPEG within my servlet. It's been working fine for quite some time until I found this problem on one installation. On this particular instance, The transcoder.transcode() method seems to hang and never returns. When I attach debugger a

test mail

2005-01-31 Thread Vijay Kumar V
This is a test mail. Pls ignore it. Thank you VK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: How to force Batik to use the Xerxes Parser when transforming from SVG to JPEG?

2005-01-31 Thread Thomas DeWeese
Hi Christian, [EMAIL PROTECTED] wrote: Now I get this error when I use the class on the server: Mon Jan 31 09:40:52 CET 2005: Servlet failed with Exception java.lang.NoSuchMethodError at org.apache.batik.dom.util.SAXDocumentFactory.startElement(SAXDocumentFactory.java:471) Can you tel

AW: How to force Batik to use the Xerxes Parser when transforming from SVG to JPEG?

2005-01-31 Thread Christian.Stark
Hi Thomas, sorry for my delayed answer: This is my solution for forcing Batik to use Xerxes: JPEGTranscoder t = new JPEGTranscoder(); t.addTranscodingHint(JPEGTranscoder.KEY_XML_PARSER_CLASSNAME,"org.apache.xerces.parsers.SAXParser"); t.addTranscodingHint(JPEGTranscoder.KEY_XML

Re: Differences in PrintTranscoder 1.5 / 1.5.1 ?

2005-01-31 Thread Thomas DeWeese
[EMAIL PROTECTED] wrote: Thomas DeWeese <[EMAIL PROTECTED]> schrieb am 30.01.2005 19:51:44: > I don't have time to run the printing tests but I'll comment, > that just to make your life more complicated you might want > to check out current CVS as I know this sort of thing has > been tweake