Re: PDFTranscoder very resource intensive!

2004-05-27 Thread David Bullock
stead of rotated). It also had similar viewing properties as the IText process (ie. very slow rendering in Acrobat ... I think because it lacks structure, and is truly a linear stream of primitive graphics2D operations). Back to P

Re: PDFTranscoder very resource intensive!

2004-05-26 Thread Peter Becker
to constructing an SVG DOM and building its corresponding GVT tree. In fact, painting the GVT tree to iText's PDFGraphics2D is easily 20 times quicker than using PDFTranscoder. I'm talking .5 secs of CPU time, versus 10 secs. Is this consistent with the experience of others on this list?

PDFTranscoder very resource intensive!

2004-05-26 Thread David Bullock
corresponding GVT tree. In fact, painting the GVT tree to iText's PDFGraphics2D is easily 20 times quicker than using PDFTranscoder. I'm talking .5 secs of CPU time, versus 10 secs. Is this consistent with the experience of others on this list? Although iText is quicker, it does not seem

Re: PDFTranscoder

2004-03-10 Thread Mathias Kalb
Thomas DeWeese wrote: I suspect the problem is the font size. Batik plays tricks so it can handle small font sizes (less than 1 user space unit). It appears that the FOP 'hack' for simple text doesn't handle this case correctly. The simplest fix is to not use such a small coordinate system

Re: PDFTranscoder

2004-03-10 Thread Mathias Kalb
Thomas DeWeese wrote: So we seem to have found some of the issue. On my machine (Acrobat 5.0.5) testpdf_1.pdf and testpdf_2.pdf render essentially the same. 'testpdf_1.pdf' doesn't look anything like your 'testpdf_1.bmp'. I'm not quite sure where to go from here, I am not a real PDF special

AW: AW: AW: AW: PDFTranscoder

2004-03-10 Thread Hans Stoessel
arz 2004 13:34 > An: Batik Users > Betreff: Re: AW: AW: AW: PDFTranscoder > > > Hans Stoessel wrote: > > > OK. In the attachment you find my SVG file. > > This is the problem. You shouldn't use: > > font-family="'Arial-BoldItalicMT'&

Re: AW: AW: AW: PDFTranscoder

2004-03-10 Thread Thomas DeWeese
Hans Stoessel wrote: OK. In the attachment you find my SVG file. This is the problem. You shouldn't use: font-family="'Arial-BoldItalicMT'" font-size="18" You should use: font-family="'Arial'" font-weight="bold" font-style="italic" font-size="18" When I do this I get the proper font

AW: AW: AW: PDFTranscoder

2004-03-10 Thread Hans Stoessel
And here is the generated JPG. Neither bold nor italic... Thanks for the help Regards Hans <> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: AW: AW: PDFTranscoder

2004-03-10 Thread Hans Stoessel
: Thomas DeWeese [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 10. Marz 2004 12:00 > An: Batik Users > Betreff: Re: AW: AW: PDFTranscoder > > > Hi Hans, > > What you get from getAllFonts() is sort of 'prototype' fonts. > You should be able to call: &#

Re: AW: AW: PDFTranscoder

2004-03-10 Thread Thomas DeWeese
--Ursprungliche Nachricht- Von: Thomas DeWeese [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 9. Marz 2004 19:08 An: Batik Users Betreff: Re: AW: PDFTranscoder Hans Stoessel wrote: Are the fonts in your PDF all correct? I mean is the used font the right one? Whats about bold and italic? There s

AW: AW: PDFTranscoder

2004-03-10 Thread Hans Stoessel
onts[i].getStyle()" there is always "false" for bold and italic and "0" for the style. I don't know why. Maybe you have an idea? Thanks Hans > -Ursprungliche Nachricht- > Von: Thomas DeWeese [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 9. Mar

Re: AW: PDFTranscoder

2004-03-09 Thread Thomas DeWeese
Hans Stoessel wrote: Are the fonts in your PDF all correct? I mean is the used font the right one? Whats about bold and italic? There shouldn't be a problem with bold and italic. I know I use them all the time without a problem. I also convert SVG files into WMF, PDF and JPG. And the fonts ar

AW: PDFTranscoder

2004-03-09 Thread Hans Stoessel
Hi Are the fonts in your PDF all correct? I mean is the used font the right one? Whats about bold and italic? I also convert SVG files into WMF, PDF and JPG. And the fonts are not correct. Sometimes the wrong font is used, bold and italic are never correct. Regards Hans

Re: PDFTranscoder

2004-03-04 Thread Thomas DeWeese
Mathias Kalb wrote: I changed it but now I can not see the text in the pdf document. Thomas DeWeese wrote: I do this all the time, so example content that fails would probably be useful, otherwise I don't know how to reproduce your problem. Here are examples: Thanks I'll try and take a lo

Re: PDFTranscoder

2004-03-01 Thread Thomas DeWeese
Mathias Kalb wrote: Thomas DeWeese wrote: During testing I found out that if there is only one svg element which has one opacity attribute (fill-opacity or stroke-opacity) with a value between 0.0 and 1.0, the generated pdf document is incorrect (ALL colors are wrong). Do you see changes that

Re: PDFTranscoder

2004-03-01 Thread Mathias Kalb
1-2 code values? What do you mean with "1-2 code values"? Look at this screenshots (BMP) which I made from the two pdf documents (viewed with Acrobat Reader 6.0). Generated with PDFTranscoder from pdftranscoder.jar (Batik 1.5.1) <http://www.prodato.de/temp/testpdf_1.bmp> <http://

Re: PDFTranscoder

2004-02-28 Thread Thomas DeWeese
Mathias Kalb wrote: Thomas DeWeese wrote: So the cases with different colors are where you use opacity. In general the differences are 1 code value (I did find one that was 2 code values off) During testing I found out that if there is only one svg element which has one opacity attribute (fi

Re: PDFTranscoder

2004-02-26 Thread Mathias Kalb
Thomas DeWeese wrote: So the cases with different colors are where you use opacity. In general the differences are 1 code value (I did find one that was 2 code values off) Looking at them side to side I basically couldn't tell they were different. Given the math involved in handling opacity i

Re: PDFTranscoder

2004-02-25 Thread Thomas DeWeese
Mathias Kalb wrote: Thomas DeWeese wrote: pdftranscoder: -the colors are a little different I have not seen this, can you provide sample content? Yes. These are the results which I saved with my program. So the cases with different colors are where you use opacity. In general the

Re: PDFTranscoder

2004-02-25 Thread Marc Chung
Hi Mathias, > No, I do not embed a JPEG in the PDF or in the SVG. > My program generates SVG and can save it as SVG, JPG, PNG, TIFF and PDF. > If this is the case, and speed (of transcoding) isn't a huge priority, you may want to consider using the iText libraries (http://itext.sf.net) to embed

Re: PDFTranscoder

2004-02-25 Thread Mathias Kalb
Thomas DeWeese wrote: pdftranscoder: -the colors are a little different I have not seen this, can you provide sample content? Yes. These are the results which I saved with my program. <http://www.prodato.de/temp/testpdf.svg> Generated with JPEGTranscoder <http://www.prodat

Re: PDFTranscoder

2004-02-25 Thread Thomas DeWeese
Mathias Kalb wrote: Hello, I use the PDFTranscoder to create a PDF document from SVG, but the quality of the result is bad. I tried it with the pdftranscoder.jar from Batik 1.5/1.5.1 and with the fop.jar (FOP 0.20.5) and the results were different. Yes, Batik ships with a newer version of the

PDFTranscoder

2004-02-25 Thread Mathias Kalb
Hello, I use the PDFTranscoder to create a PDF document from SVG, but the quality of the result is bad. I tried it with the pdftranscoder.jar from Batik 1.5/1.5.1 and with the fop.jar (FOP 0.20.5) and the results were different. pdftranscoder: -the colors are a little different -the text has no

Re: Batik, PDFTranscoder, FOP and scripting

2003-07-21 Thread J.Pietschmann
Steve Menard wrote: I need to convert a SVG document to PDF. Easy enough using the PDFTranscoder. However, I need the onload scripts to run. I am aware of the KEY_EXECUTE_ONLOAD hint but that does not apply to PDF, only to subclasses of SVGAbstractTranscoder. PDFTranscoder is not one of those. I

Batik, PDFTranscoder, FOP and scripting

2003-07-21 Thread Steve Menard
Hello. I have looked through the FAQ and found a similar question related to bitmap generation. Unfortunately the answer does not seem to apply to my problem. I need to convert a SVG document to PDF. Easy enough using the PDFTranscoder. However, I need the onload scripts to run. I am aware of the