format-number rounding error

2004-05-13 Thread lijun zou
Hi, I am trying to generate PDF using FOP. But I got a rounding error when using the following fo script fo:block xsl:value-of select=format-number(0.5,'0')/ /fo:block The result from fop is 0 instead of 1 Is this a bug? How do we get around of it? Thanks LZ

RE: CMKY

2003-10-10 Thread lijun zou
Another question, How can I mathematically convert RGB to CMYK? Theoreically it's 1- RGB, but what about K value? LZ --- Beer, Christian [EMAIL PROTECTED] wrote: I think CMYK support in tools used early in the publishing chain is somewhat overrated. Right, but FOP _MUST_ not be early in

Re: CMKY

2003-10-09 Thread lijun zou
Thanks for the so many replies. Ben's idea is especially helpful. I've been following up on that in last few days. Looks like in the output method in PDFDocument.java, we can intercept each PDFObject before it is printed to pdf file, if it's a PDFStream object, we can decode the data string and

CMKY

2003-10-07 Thread lijun zou
I am in a process of evaluating PDF creation software. FOP looks very attractive to me. But I have one question: How is the CMKY colorspace supported in FOP? Does it support at embedded SVG level too? Any examples about this? Thanks __ Do you Yahoo!? The New Yahoo!