The EPS files I used to generate PS file all have correct CMYK color space. So I was hoping I could do something to text also. But I checked the XSL-FO document, "color" attribute is defined to be the 16 HTML keyword color names or numerical RGB specification. Seems like I can't do much about it.
Tiffany
-----Original Message-----
From: Chris Bowditch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 21, 2004 9:48 AM
To: [EMAIL PROTECTED]
Subject: Re: How to use CMYK colors as font color?
Sun, Tiffany (Tong) wrote:
> Hi,
> I need to use a font with color in CMYK color space, is there a way to
> tell FOP that I'm using CMYK color as font color? And how to define CMYK
> color "0 0 0 1"?
>
> Currently I'm using
> <fo:block font-size="{$textSize}"
> font-family="{text/font-family}" color="0001">
> But the generated PS file has RGB color space instead of CMYK.
I'm afraid FOP doesnt support CMYK colors for fonts and other FO properties.
CMYK colors work inside JPG images, but that is all.
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
