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

RE: Making pt a non-physical unit

From: Levantovsky, Vladimir <Vladimir.Levantovsky@MonotypeImaging.com>
Date: Wed, 6 Jan 2010 17:09:46 -0500
To: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>, "robert@ocallahan.org" <robert@ocallahan.org>
CC: www-style <www-style@w3.org>
Message-ID: <7534F85A589E654EB1E44E5CFDC19E3D043607D4@wob-email-01.agfamonotype.org>
On Wednesday, January 06, 2010 2:07 PM Giuseppe Bilotta wrote:
> 
> My not-so-limited experience with a 133dpi monitor and Windows was
> that setting the 'font DPI' to something else than 96 made almost
> every single application break in one way or another (even for simple
> UI elements like dialogs), so I would say that the problem there might
> lie more in the o/s feature than in a specific app issue.
> Additionally, in those case it's probably possible to consider how the
> user setting compensates already for the different monitor DPI and act
> accordingly.
> 
FWIW, I am using my laptop running WinXP in three different hardware configurations - docked with dual external monitors in the office, docked with a single external monitor at home, and standalone with laptop screen - all three configurations having different display DPI settings, with only one of them (Office/dual displays) being set to 96 dpi. Most applications handle this just fine, with notable exception of web content where sometimes parts of the content are scaled by a browser according to the DPI settings, while some other parts of the content have sizes specified in pixels and remain unchanged (which, according to your comments below, is okay from CSS spec point of view).
I'd rather have the whole content scaled, with zoom capabilities - keeping default 96 dpi settings for hi-res laptop screens makes text almost unreadable and is hardly an option.

Regards,
Vlad

> By the way, the current CSS spec effectively suggests this approach.
> The funny thing is that MSDN claims that even IE6 does it
> http://msdn.microsoft.com/en-us/library/ms537625(VS.85).aspx
> 
> """
> Internet Explorer 6 and later solves these problems by proportionally
> adjusting the scale on displays with higher resolution.
> 
> When scaling is activated on a 192 dpi system, for example, an HTML
> element that has a specified height and width of 250 pixels has a
> scaled height and width of approximately 500 pixels.
> 
> 192 DPI / 96 DPI * 250 pixels = 500 pixels
> """
> 
Received on Wednesday, 6 January 2010 22:09:46 GMT

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