Closed
Bug 89078
Opened 23 years ago
Closed 23 years ago
browser.display.screen_resolution ignored (again) on Linux
Categories
(Core :: Layout, defect, P2)
Tracking
()
mozilla0.9.4
People
(Reporter: tenthumbs, Assigned: dbaron)
Details
With an 07-02 nightly, but not an 06-24 one, mozilla ignores my 75dpi settings
and translates all font requests in points at 96dpi. I've tried changing all the
usual things but nothing helps. I suspect that mozilla is getting a pref error
and defaulting to 96.
The logic in nsDeviceContextGTK::SetDPI seems a little flawed. If _any_ pref
error occurs and your OS dpi is <= 96 then mozilla uses 96 even if a valid OSVal
exists.
I suggest changing the logic to use OSVal if it's "reasonable."
Assignee | ||
Comment 1•23 years ago
|
||
The reason for, by default, not using the value from the OS if it's less than
96, is that many web pages are written by Windows web designers who don't know
better than to specify really tiny font sizes in points.
But what we're supposed to do is currently broken, so taking bug.
Assignee: karnaze → dbaron
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9.4
Assignee | ||
Comment 2•23 years ago
|
||
Partly invalid / partly duplicate (see above).
*** This bug has been marked as a duplicate of 69205 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•