[Sugar-devel] [Sugar Web] Supporting different screen DPIs - XO-4

James Cameron quozl at laptop.org
Mon Sep 23 18:44:58 EDT 2013


On Mon, Sep 23, 2013 at 08:33:00AM -0300, Manuel Quiñones wrote:
> Considering <http://wiki.laptop.org/go/Display#Quick_Summary>.  But
> seems that webkitgtk is not not supporting 'resolution', and utilities
> like <http://mediaqueriestest.com/> confirm that.  I get:
> 
> - resolution: not supported
> - min-device-width in px: 1200px
> - min-device-height in px: 900px
> - min-device-width in in: 12in
> - min-device-height in in: 9in
> 
> The latter two values are wrong, the XO screen is 6 x 4 inches.

With the same test, Firefox on XO-4 also delivers these minimum device
dimensions, though the resolution attribute says 96dpi 1dppx.

xdpyinfo correctly shows 152mm by 114mm, with resolution 201 dpi.

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list