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

Re: Making pt a non-physical unit

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 8 Jan 2010 08:26:12 +1300
Message-ID: <11e306601001071126s71adfa97t8fbc59055863c256@mail.gmail.com>
To: Jonathan Kew <jonathan@jfkew.plus.com>
Cc: www-style list <www-style@w3.org>, rfink@readableweb.com
On Fri, Jan 8, 2010 at 3:53 AM, Jonathan Kew <jonathan@jfkew.plus.com>wrote:

> My own (perhaps rather vague) thinking is that "true" dimensions would
> still zoom - along with everything else - in scenarios where the overall
> display is being zoomed, like when you use pinch gestures on an iPhone, or
> the accessibility features on Mac OS X. But they would not be affected by
> "text zoom" features that change the root em unit, and they would resolve to
> correct physical distances at the default ("100% zoom") display size. In
> this respect, they'd be unlike "non-true" dimensions, which in the case of
> very small (or large) devices might be resolved to something quite different
> from their nominal real-world size.
>
> So, for example, on a desktop or a printed document, 12pt might be a
> reasonable default text size. On a phone, text specified as "12pt" would
> actually be rendered substantially smaller, corresponding to the smaller
> size of "px" on this device. Text specified as "12truept", however, would
> remain at 12 real-world points at the standard default zoom level. If the
> user then pinches to zoom the entire display, then the 12truept text (and
> the 8truemm high box surrounding it, or whatever) will still all zoom
> together.
>
> Does that make some kind of sense.....?
>

Yes, that is what we would do.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
Received on Thursday, 7 January 2010 19:26:45 GMT

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