[Webkit-unassigned] [Bug 11644] Absolute lengths assume 96.0 DPI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 19 14:46:14 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11644





------- Comment #5 from contact at nickshanks.com  2006-11-19 14:46 PDT -------
"Web designers assume 96dpi." - This is what i want to change, but I can only
go one step at a time, and haven't looked at the Mozilla code for four years,
so I am starting here.

I think your last point is a case of the specification pandering to
implementations, but I would welcome a DPI preference in Safari too (not just
other WK apps). Personally I'd rather have a pedantically correct browser than
to have one that is dumbed down because of inept web developers and/or
designers.

An additional preference that would compliment this is to have the web DPI
setting user-settable as it is in Internet Explorer ("Language/Fonts"
preference screen - that browser has a nifty adjustable ruler to play with!).
It would be of benefit to web developers if they could adjust the assumed DPI
on the fly to check their site works at non-96.0 values, and that they were
frequently made aware of the facility and encouraged to check. Screens at the
moment are about 96 dpi anyway (mine are 86 and 99) so an accurate rendering
wouldn't be that different. (Try setting IE to 30 or 200 dpi and go surfing,
starting with the test page attached to this bug; few sites I frequent show
DPI-related rendering errors)

I was aware of and loosely following the discussions surrounding Safari's early
DPI issues, though I seem to recall you had fixed the browser at 72.0 with a
default font size of 12 (px/pt), and you resolved it by changing the DPI to 96
so 12pt would equal 16px - and that it did not do any checking of the actual
screen dimensions as this patch attempts to do, but of course I could be wrong
there.

What use are the absolute units mm/cm/in/pc/pt if they are not independent from
px ?
They might as well not exist. (I think pc and cm are rather redundant anyway
:-)


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list