Re: Memory consumption

2003-09-19 Thread J.Pietschmann
Ben Galbraith wrote: If you like, I can start gathering metrics from the JVM itself. I don't own a commercial profiling utility, otherwise I'd run that. Try http://simpleprofiler.sourceforge.net/DrMem/ There's still the possiblity of a leak in the Java RTL itself. Which JDK are you using?

Re: Memory consumption

2003-09-19 Thread Ben Galbraith
J.Pietschmann wrote: Try http://simpleprofiler.sourceforge.net/DrMem/ There's still the possiblity of a leak in the Java RTL itself. Which JDK are you using? I'm using JDK 1.4.2 (or 1.4.2_01; I'll have to check). I just did a heap dump (-Xhprof) and found that two byte[] arrays are killing my

table row color changing

2003-09-19 Thread Ramon Maria Gallart
Hi all. Can anyone tell me the way to change the colors of a table rows? I mean, the first in a color the next with other color, the next one with the first color and so on... Ive tried to do it using an external variable but when i change it inside the loop it seems not to recognize

Re: table row color changing

2003-09-19 Thread J.Pietschmann
Ramon Maria Gallart wrote: Can anyone tell me the way to change the colors of a table rows? I mean, the first in a color the next with other color, the next one with the first color and so on... I've tried to do it using an external variable but when i change it inside the loop it seems not to

SVG to PDF Conversion

2003-09-19 Thread Shan Kajendran
Dear Genies, Currently I am in RD and doing some research in PDF and SVG. Especially I am trying to find a solution to convert SVG into PDF. Q1) In SVG to PDF Conversion, is that the end result a print ready PDF ? I mean the output pdf supports CMYK colour space? Q2) When converting the

Re: SVG to PDF Conversion

2003-09-19 Thread J.Pietschmann
Shan Kajendran wrote: Q1) In SVG to PDF Conversion, is that the end result a print ready PDF ? I mean the output pdf supports CMYK colour space? There's no such thing as print ready PDF. PDF is a document format which supports a number of color models, including CMYK, for embedded graphics.

Re: table row color changing

2003-09-19 Thread J.Pietschmann
J.Pietschmann wrote: see for example http://www.dpawson.co.uk/xsl/sect2/N7450.html#d4e82 Ouch, misleading example. The key phrase is grouping by position, and more appropriate examples would be http://www.dpawson.co.uk/xsl/sect2/N6280.html#d6777e235

RE: table row color changing [spam-BCC][Faked From Address][html- removed]

2003-09-19 Thread Sells, Fred
according to the O'reilly book, the only way to increment a variable is to call a template recursively. I think I've seen an example of what you want where they used a count and the mod function to alternate row color, but don't recall the code. -Original Message- From: Ramon Maria

RE: SVG to PDF Conversion

2003-09-19 Thread Andreas L. Delmelle
-Original Message- From: Shan Kajendran [mailto:[EMAIL PROTECTED] Q2) When converting the SVG into PDF, the Batik is uncompressing the image data and creating the PDF with that raw data. So it is increasing the PDF's size by many times. For example 8 kb SVG converted to 1.8 meg

SVG to PDF Conversion

2003-09-19 Thread Shan Kajendran
Thanks.. Also I would like to shortened my last thread. First I want to deal with Jpeg issue. Actually I am using Batik's Rasterizer to convert SVG into PDF using the following command line. D:\BatikTest\batik-1.5\java -jar batik-rasterizer.jar -m application\pdf sometest.svg When I try

Re: SVG to PDF Conversion

2003-09-19 Thread Jeremias Maerki
As a general note: FOP has several deficiencies when it comes to CMYK-input or -output. I think there's some serious work ahead before the PDF Transcoder will do what you need. If you want to make it work I suggest you familiarize yourself with FOP's source code. On 19.09.2003 15:21:15 Shan

Alternating fo:table-row color CODE (Re: table row color changing)

2003-09-19 Thread Clay Leeds
Ramon, Hope this helps. Near the top of my xsl-fo document I set some xsl:variable so I can change the color throughout my FO (I also set up my fonts, font-size, heading font-size, page background-color, etc. ;-p): !-- === BEGIN: set up variables === -- xsl:variable

RE: SVG to PDF Conversion

2003-09-19 Thread Shan Kajendran
Thanks... As a general note: FOP has several deficiencies when it comes to CMYK-input or -output. I think there's some serious work ahead before the PDF Transcoder will do what you need. If you want to make it work I suggest you familiarize yourself with FOP's source code. Is it bug or not

RE: SVG to PDF Conversion

2003-09-19 Thread Andreas L. Delmelle
-Original Message- From: Shan Kajendran [mailto:[EMAIL PROTECTED] Is it bug or not implemented in the FOP. Because in the FOP website I found the following FOP native support of JPEG does not include all variants, especially ^^^^ Note that this holds

RE: Memory consumption

2003-09-19 Thread Andreas L. Delmelle
-Original Message- From: Ben Galbraith [mailto:[EMAIL PROTECTED] I'm using JDK 1.4.2 (or 1.4.2_01; I'll have to check). I just did a heap dump (-Xhprof) and found that two byte[] arrays are killing my heap, both created by JAI. I have to run now, but tomorrow I'll have the full