https://issues.apache.org/bugzilla/show_bug.cgi?id=49403

           Summary: [PATCH] Spot color support for the PDF Renderer
           Product: Fop
           Version: 0.95
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: pdf
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=25549)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25549)
Spot Color Support for PDF Renderer

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!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to