Re: How CMYK Color can be used in FO?

2012-10-16 Thread Pascal Sancho
Hi, in addition to what Luis said: SVG should support CMYK through icc-color property (see [1]), but I don't know if Batik does handle this feature. Note that fox:cmyk() is a FOP extension, and it is recommended to use the standard FO function rgb-icc() (see [2]). [1]

How CMYK Color can be used in FO?

2012-10-15 Thread Jawed Islam
Hello, I have an SVG which has many colors definitions in it I enclosed it in an FO fo:instream-foreign-object/fo:instream-foreign-object tag to convert it into an FO file. To convert it into a CMYK PDF I converted all the colors of the SVG to their respective CMYK codes like cmyk(0,0,20%,40%)

Re: How CMYK Color can be used in FO?

2012-10-15 Thread Luis Bernardo
Someone may correct me if I get this wrong, but I think the issue is that you are using cmyk() inside SVG, not FO. The error you get is thrown by Batik, not really FOP. I think the documentation needs to be clearer about this. You can check that by adding a background-color=cmyk(1, 0, 0,