W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2008

[whatwg] to use pixels a DPI should be defined in hader of each page

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 22 Jul 2008 09:24:13 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0807220922590.17700@hixie.dreamhostps.com>
On Tue, 22 Jul 2008, Shimon Doodkin Support wrote:
>
> in now days we have different sizes of displays some of them huge with 
> low resolution and some of them normal but with very tiny dots. usually 
> the DPI of the development machine is matching the dpi of the VIEWER but 
> sometimes it doesn't when progress comes and new displays with higher 
> DPI are manufactured no one buy them because all the text will be very 
> small and unreadable.

The CSS spec defines the "pixel" as a nominal 96dpi relative unit, to 
avoid this very problem. HTML5 uses "CSS pixels" whenever discussing 
dimensions. <canvas> supports higher resolution backing stores.

This as far as I can tell HTML5 already deals with this.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 22 July 2008 02:24:13 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:03 UTC