Fw: Rendering performance of Java

2002-02-19 Thread Milan Trninic
Below is my original message with the test description and the results. I was using java 1.3.1 and batik 1.1.1. Later, I have tried with the latest batik (got the source and built it) and also with java 1.4, but the results are so close to these that I won't look for them now. Cheers   Milan

RE: Batik 1.1.1 and Java 1.4

2002-02-19 Thread Danny Ayers
>I have. My experience was good in terms of compatibility, but not in terms >of the performance. Java 1.4 doesn't seem to perform better in rendering >than java 1.3. Ditto - I noticed no difference. The only problems I've had with 1.4 so far was with an installer that didn't realise that 1.4 > 1.

Re: Batik 1.1.1 and Java 1.4

2002-02-19 Thread Milan Trninic
I have. My experience was good in terms of compatibility, but not in terms of the performance. Java 1.4 doesn't seem to perform better in rendering than java 1.3. Batik itself seems to be fast, but java2d is not. I have already posted some of my test results to this list several days ago, but I ca

Batik 1.1.1 and Java 1.4

2002-02-19 Thread Tangent
Hi group, I wonder if anyone has installed Batik 1.1.1 and the latest JDK 1.4 yet. Are they compatible with each other? How about performance? Thanks! - Tangent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: problem when using SVGDocument for TranscoderInput

2002-02-19 Thread Vincent Hardy
Christos, Which version of Batik are you using? Vincent. > I'm trying to create JPEG files using JPEGTranscoder(). I was able to do > it by passing a file URL, or an InputStream to > the JPEGTranscoder constructor, but not with an SVGDocument. > > The SVGDocument is generated with an XSL transf

Re: Raster image size generated by Transcoder API

2002-02-19 Thread Vincent Hardy
Kenji, Following on Thomas's comment, yes, you can use the setSVGCanvasSize method on SVGGraphics2D and the rasterizer will use it. However, this will only set the width and height attributes. If you'd like to set the viewBox and preserveAspectRatio attributes, you'll have to get the root from

Re: SVG question about creating buttons

2002-02-19 Thread Vincent Hardy
David, There is no text wrapping in SVG 1.0 so you'll have to do something manually. Note that it is very likely that the Batik team will soon add support for text wrapping in prevision of SVG 1.1. Vincent. > Not sure if this is the right user group for this type of question - please > advise i