Re: CSS overprinting

Resurrecting this thread as no resolution has been reached, to mention that AntennaHouse also has its own proprietary syntax for overprinting [1]

~ Lea

[1]: http://antennahouse.com/xslfo/extension.htm#axf.overprint

On Jun 19, 2013, at 06:25, Michael Day <mikeday@yeslogic.com> wrote:

> 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, 30 July 2014 22:35:02 UTC