Re: CMYK again

2003-11-21 Thread Clay Leeds
Timo Haberkern wrote: A question to the FOP coding gurus: What would be the "correct"/best way to implement an extension to FOP that can generate a CMYK document? rgds Timo Here're a couple of ideas of where to look: EXSLFO Project: http://exslfo.sourceforge.net/ EXSLFO Project Home: https://sour

Re: PDF-Report with dynamic JPEG-Image

2003-11-21 Thread J.Pietschmann
Torsten Buslei wrote: Now I want to integrate charts which I generate in a servlet powered by the JFreeChart-classes (an open source project). The response of the servlet is "image/jpeg". I use it on a html-site in an image-tag. ... http://localhost/myapp/servlet/myimageservlet')" width="570"/> The

Re: CMYK again

2003-11-21 Thread J.Pietschmann
Timo Haberkern wrote: A question to the FOP coding gurus: What would be the "correct"/best way to implement an extension to FOP that can generate a CMYK document? Check whether iText or any other of the handful of PDF libraries on sourceforge can help you with this problem. J.Pietschmann -

Re: CMYK again

2003-11-21 Thread J.Pietschmann
Ben Galbraith wrote: I don't know if the XSL-FO color space support supports CMYK or not. XSLFO only supports sRGB (gamma corrected!) and ICC colors. Of course, the spec doesn'n mention how the colors in the output should look like. J.Pietschmann --

Re: XSL-FO Problem (Line not coming as proper location)

2003-11-21 Thread J.Pietschmann
shuva sinha wrote: I am using in xsl. But it is not coming. Another attempt at guessing what your problem might be: use text-align-last="justify", see also: http://xml.apache.org/fop/faq.html#leader-expansion J.Pietschmann - To

Re: PDF-Report with dynamic JPEG-Image

2003-11-21 Thread Chris Pratt
I'd bet, since your url doesn't have an extension, you have to include the content-type="image/jpeg" attribute.  You might try:   src="" width="570"/>   (*Chris*) - Original Message - From: Torsten Buslei To: [EMAIL PROTECTED] Sent: Friday, November 21, 2003 12:59 am

Re: CMYK again

2003-11-21 Thread Ben Galbraith
Timo Haberkern wrote: Ok, i understood that. But i think the color values must be changed too or i'm wrong. I think there must be a conversion from rgb to cmyk values?!? Right. I haven't created code that performs intelligent RGB -> CMYK conversion; rather, I replace specific RGB values with spe

Re: CMYK again

2003-11-21 Thread Timo Haberkern
Then, what you will need is a regular expression, that finds any 'RG' or 'rg' color commands, to replace them with 'K' or 'k', respectively. Of course, the expression needs to be smart enough only to replace occurrences of 'RG' or 'rg' that is actually color commands. Searching for occurrences of

RE: CMYK again

2003-11-21 Thread Dennis Myrén
Well, in FOP 0.20.5 it is possible to generate uncompressed PDF documents. Although this may increase the file size, sometimes dramatically, it makes the RGB->CMYK replace operation much simpler, Because the PDF document wont need to be decompressed before performing those tasks. Then, what you wil

Re: CMYK again

2003-11-21 Thread Timo Haberkern
Ben, The President of my employer is a lawyer. Dunno if open-source will happen anytime soon for that lib. ;-) Have you checked if the open-source Multivalent lib supports this type of operation? I'll try and take a gander too, but you should check and see. I will check it next week. Thanks

Re: CMYK again

2003-11-21 Thread Ben Galbraith
Timo, Timo Haberkern wrote: 1.) FOP (or XSL:FO) doesn't support CMYK directly I don't know if the XSL-FO color space support supports CMYK or not. Others may comment on this who have read the spec more than I. 2.) CMYK JPEGs shouldn't be a problem in FOP through JAI support I use CMYK JPEGs in FO

attribute-set

2003-11-21 Thread Manuel Reyes
I am having a problem when trying to use attribute sets, and I am unsure on whether this is a problem with FOP or my newbie implementation of the syntax (the most likely possibility) I have the following attribute-set within my document which reads in values from an XML file : Below this I

PDF-Report with dynamic JPEG-Image

2003-11-21 Thread Torsten Buslei
Hello,I'm using FOP (0.20.5) for several month. It's a nice tool to generatedynamic pdf-documents in a web-environment (tomcat 4, java 1.4.1).Now I want to integrate charts which I generate in a servlet powered by theJFreeChart-classes (an open source project). The response of the servlet is

CMYK again

2003-11-21 Thread Timo Haberkern
Hi all, i read the last threads about cmyk for FOP, but it seems that there was no solution for the problems. If i read all the messages completely there is the following status: 1.) FOP (or XSL:FO) doesn't support CMYK directly 2.) CMYK JPEGs shouldn't be a problem in FOP through JAI support 3.)

Re[2]: XSL-FO Problem (Line not coming as proper location)

2003-11-21 Thread Torsten
Hello shuva, Friday, November 21, 2003, 4:58:52 AM, you wrote: ss> Hi Pietschmann, ss>   ss> Thanks for your help. But what I want exactly it is not ss> coming. If  I use underline then the output will be ss>   ss> 12.11.03 ss> ss>   ss> So the length of the line depends on t

Re: XSL-FO Problem (Line not coming as proper location)

2003-11-21 Thread shuva sinha
Hi Pietschmann,   Thanks for your help. But what I want exactly it is not coming. If  I use underline then the output will be   12.11.03   So the length of the line depends on text, if the text is too long then line will be long & text is small then line will be short.   In my case pd

Memory measurement -- importance of Driver.reset()

2003-11-21 Thread John Austin
After reading the Sept 2003 thread about Memory Performance, leaks (and how wonderful ADA is), I modified my test program that generates 3 PDF files. The program now sleeps 30 seconds, calls Driver.reset(), nulls the reference and sleeps again. In JMP this plots a square wave between that you can r