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: Wed, 6 Jan 2010 07:56:32 +1300
Message-ID: <11e306601001051056i40c11aadv5c974bbbfbaaeb1@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: rfink@readableweb.com, www-style <www-style@w3.org>
On Wed, Jan 6, 2010 at 7:01 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> The dpi Firefox uses can either be set via preferences, or again queried
> from the OS.  In the Linux case gdk_screen_get_resolution is used, with
> various fallbacks to 96 in cases when it's actually less than 96 and the
> like...  On Windows, the logical DPI is currently used (GetDeviceCaps with
> LOGPIXELSY).  On Mac 96 is used.  On OS/2, DevQueryCaps with

Turns out LOGPIXELSY is actually more like a user preference. Also turns out
that gdk_screen_get_resolution doesn't actually use the X display
resolution. I'm fixing those issues.

"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
Received on Tuesday, 5 January 2010 18:57:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:31 UTC