W3C home > Mailing lists > Public > www-style@w3.org > June 2013

Re: CSS overprinting

From: Michael Day <mikeday@yeslogic.com>
Date: Wed, 19 Jun 2013 13:25:34 +1000
Message-ID: <51C124AE.5060105@yeslogic.com>
To: www-style@w3.org
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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC