W3C home > Mailing lists > Public > www-style@w3.org > January 2010

Re: Making pt a non-physical unit

From: David Singer <singer@apple.com>
Date: Tue, 19 Jan 2010 09:04:52 +0900
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, "robert@ocallahan.org" <robert@ocallahan.org>, www-style <www-style@w3.org>
Message-Id: <5C778685-116D-46AC-8E47-DD7838883463@apple.com>
To: Brad Kemper <brad.kemper@gmail.com>
I am following the discussion, and I suspect that I should be changing the summary I wrote, but I am unable to tell how.  Would someone else like to edit the previous summary?

Here it is, adjusted for the typo and the one change I did understand...

* * * 

All CSS units have a fixed relationship to each other:  there are 96 CSS pixels to the CSS inch, 72 CSS points to the CSS inch, 2.54 CSS mm to the CSS inch, and so on.

It is suggested that a CSS pixel be an integer number of device pixels, particularly if the ratio of CSS pixel to device pixel size is small.

A CSS pixel normally subtends an angle of XXX (insert CSS 2.1 text here) at the eye when viewed at a normal arm's length distance.

Manufacturers may choose how these units map to their device, and may also offer users control over the mapping.

In print media, the CSS inch should generally map to a true inch on the printed surface.  Printers generally have a higher resolution than 96 dpi, so a CSS pixel is therefore typically larger than a device pixel.

In screen media, a CSS pixel is often (recommended to be?) one or more device pixels, subtending the angle given above at the eye when viewed from the expected viewing distance.  For 96 dpi computer displays read at a normal viewing distance, both CSS pixel and CSS inch may map to their true counterparts.  For small high-resolution displays intended for 'close up' viewing, this means that a CSS pixel may map to a device pixel and that a CSS inch may be smaller than a physical inch on the screen, and for large displays intended for distant viewing, a CSS inch may be larger than a physical inch.

In electronic 'billboard' displays, a CSS inch may be much larger, therefore, than a physical inch, so that a CSS pixel subtends the expected angle at the eye for the typical viewer.

* * * *

David Singer
Multimedia and Software Standards, Apple Inc.
Received on Tuesday, 19 January 2010 00:05:33 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:23 GMT