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

Re: [mediaqueries] Making the 'color' query static, like CSSOM colorDepth?

From: Liam R E Quin <liam@w3.org>
Date: Thu, 08 Aug 2013 09:22:04 -0400
Message-ID: <1375968124.3723.1130.camel@localhost>
To: Rik Cabanier <cabanier@gmail.com>
Cc: Zack Weinberg <zackw@panix.com>, www-style list <www-style@w3.org>
On Fri, 2013-08-02 at 12:23 -0700, Rik Cabanier wrote:

> The PDF spec doesn't define device-dependent rendering so this change will
> actually make CSS more in line with the prepress world.

The PDF _renderer_ does of course need to know, and the person or
software creating the PDF needs to know (e.g to specify dot screen pitch
and angles). The colour gamut comes from the ICC colour profile for the
printer or other output device and is used to create the PDF.

Maybe a javascript API would be sufficient, assuming CSS tools like
Antenna House and Prince and WeasyPrint and... all support JavaScript.
But support in media queries makes sense to me too.

Black and white printers are usually one bit per pixel and (as has been
mentioned) you need to avoid or control dithering; yuo may well choose
different colours on a monochrome or greyscale device too.

Liam


-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Received on Thursday, 8 August 2013 13:23:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:33 UTC