CMYK

Here should go questions about transforming XML with XSLT and FOP.
amjb71
Posts: 13
Joined: Wed Aug 02, 2006 2:18 pm

CMYK

Post by amjb71 »

Hi,

Can anyone help

I am using XEP 4.7 and need to set up CMYK font colors, I have used this but when I preflight this in acrobat it says its RGB:


<fo:block color="rgb-icc(0, 135, 134, CMYK, 100, 0, 46, 15)" font-weight="bold" font-size="18pt" font-family="Frutiger" space-before.optimum="15pt" page-break-before="always" id="{generate-id()}">



Regards,


Adam
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

For CMYK in a FO file processed by XEP the parameter name must be #CMYK and the color values must be real values in the range 0.0–1.0. Try with

Code: Select all

 <fo:block color="rgb-icc(0, 135, 134, #CMYK, 0.100, 0.0, 0.46, 0.15)"
You can find more details on the XEP website.


Regards,
Sorin
Post Reply