Just wanted to thank you and Jeremias for your suggestion. It seems to work fine (no crashes!), though I've not yet heard back from the press people...
Iain From: Peter Coppens [mailto:[EMAIL PROTECTED] Sent: 05 December 2008 09:43 To: [email protected] Subject: Re: CYMK Well....if it is just rectangles I think you should be able to do that without svg. In that case you should be able to get away with fop's cmyk support. E.g. This seems to 'work' <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="pm" page-height="10cm" page-width="10cm" > <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="pm"> <fo:flow flow-name="xsl-region-body"> <fo:block-container absolute-position="fixed" top="2cm" left="2cm" width="1cm" height="1cm" background-color="cmyk(1,0,0,0)"> <fo:block></fo:block> </fo:block-container> <fo:block-container absolute-position="fixed" top="2cm" left="3cm" width="1cm" height="1cm" background-color="cmyk(0,1,0,0)"> <fo:block></fo:block> </fo:block-container> <fo:block-container absolute-position="fixed" top="2cm" left="4cm" width="1cm" height="1cm" background-color="cmyk(0,0,1,0)"> <fo:block></fo:block> </fo:block-container> <fo:block-container absolute-position="fixed" top="2cm" left="5cm" width="1cm" height="1cm" background-color="cmyk(0,0,0,1)"> <fo:block></fo:block> </fo:block-container> </fo:flow> </fo:page-sequence> </fo:root> Hth, Peter _____ From: Iain Downs <[EMAIL PROTECTED]> Reply-To: <[email protected]> Date: Fri, 5 Dec 2008 09:20:53 -0000 To: <[email protected]> Subject: RE: CYMK Hey, Peter. Thanks for this. Perhaps I could phrase my question more broadly. I have a need to create some pdf files for colour printing purposes. Each page will contain nothing but square blocks in one of two colours - no overlap. The printer requires that these colours are separable onto different plates so they must be either spot colours or 100% C Y M or K from the C Y M K palette. Ignoring (or not) FOP/SVG and other things, what is the easiest way of generating these files. I was reasonably expert in pdf and ps 15 years ago, but I've pretty much forgotten it all. so something fairly noddy (simple to understand and implement) would be ideal! Iain From: Peter Coppens [mailto:[EMAIL PROTECTED] Sent: 05 December 2008 09:01 To: [email protected] Subject: Re: CYMK Don't think batik/svg supports cmyk Also see http://markmail.org/message/ogvc4we6n347vjvt?q=batik+cmyk Hth, Peter _____ From: Iain Downs <[EMAIL PROTECTED]> Reply-To: <[email protected]> Date: Fri, 5 Dec 2008 08:12:50 -0000 To: FOP MAILLIST <[email protected]> Subject: CYMK Hi, Guys. I'm (still) trying to produce a simple 'camera ready copy' with separable colours. I'm now trying to do this by using specifying my two colours to be Cyan and Magenta with the resulting CMYK in PDF files hopefully being separable. My chain is XSL-FO with embedded SVG -> fop (0.95) -> PDF. The problem is that magenta in the resulting PDF file actually contains some cyan and the cyan contains some yellow. So I appear to need to specify CMYK directly in the XSL-FO/SVG. The problem is that although 'fill=rgb(255,0,0)' seems to work ok 'fill=cmyk(100%, 0%, 0%,0%)' throws an exception (something about functions not being allowed) <svg:rect x="0.5mm" y="0.5mm" width="5mm" height="5mm" fill="cmyk(100%, 0%, 0%, 0%)" /> There's an indication in the archives (http://fop.markmail.org/message/hoz4sp4l3imabkn5?q=spot+colors) that something of this sort should work in FOP proper, but it seems not to in the SVG parts. AS in my earlier email (sport colours), I'm struggling to find much googling this area and what I do find tends to require a background knowledge of printing, SVG and so on which I don't have. Any help would be much appreciated or I shall be forced to start assembling PDF files by hand :( Iain
