Details
-
Improvement
-
Status: Closed
-
Resolution: Fixed
-
0.95
-
None
-
None
-
Operating System: All
Platform: All
-
49403
Description
This patch provides spot color support for spot colors for the PDF renderer. It was developed against the 0.95 codebase, so it may not be compatible with the HEAD.
The code's rather rough and unforgiving (you need to specify the color function with ALL arguments correctly or it will likely die), but it's sufficient for our current production environment. Values for the alternate colorspaces (RGB/CMYK) must be provided, with the tint pre-calculated...though I believe it currently only actually uses one of the alternates (I think CMYK ??) for non-PDF renderers.
With this patch applied, you may specify spot colors in your FO using the following function:
rgb-icc(R,G,B,'#Separation',spot-color-name,tint-value,C,M,Y,K)
Here's one with real values:
rgb-icc(0,91,165,'#Separation','Reflex Blue CV',1,0.96,0.7,0.04,0)
I'm posting this here at Jeremias' request since he's working on implementing full support for spot colors. If you're looking at this for your own fork, you should probably review the status of his efforts first!