Re: CSS overprinting

Hi Lea,

> I’m not sure how overprint could be controlled, since it could be for
> the entire element, or just the text etc. It looks more like a blending
> mode. However, if we add a blending mode for it, what will it do for
> RGB? I'm not sure if overprinting is even a thing in RGB.

Prince has crude support for overprinting, but only for named colors at 
the moment. So you can do something like this:

@prince-color MySpecialColor {
     alternate-color: device-cmyk(...)
}

p {
     background: device-cmyk(...);
     color: prince-color(MySpecialColor, overprint)
}

We could certainly add the overprint flag to the device-cmyk() color 
function, that would be more straightforward than a new property or an 
entirely new mechanism for manipulating overprint.

Best regards,

Michael

-- 
Prince: Print with CSS!
http://www.princexml.com

Received on Wednesday, 19 June 2013 03:25:59 UTC