Layout is unable to handle X_DPI != Y_DPI

NEW
Unassigned

Status

()

Core
Layout
17 years ago
9 years ago

People

(Reporter: robbe, Unassigned)

Tracking

({arch, highrisk, testcase})

Trunk
x86
Linux
arch, highrisk, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

281 bytes, text/html
Details
(Reporter)

Description

17 years ago
There's no way to tell Mozilla that my display resolution is, for example,
100x75 dpi. The Preferences only allow one to enter one value for dpi.
Likeliwise, when the dpi is fetched from the X server, the y value is ignored.

This may not be too relevant for fonts, but having the dpi right is essential
for CSS lengths (see attached testcase).

Most modern displays will have dpis that vary only by a few dots from x to y,
but old and/or exotic devices may have dpis differing by a factor of two.

To reproduce:
* Configure X server for odd dpi values (e.g. for XF4, stick "DisplaySize 400
150" in the "Monitor" section of the config file)
* Check with xdpyinfo
* Be sure to set Mozilla's dpi override to 0 (so that the values will come from
the X)
* Varying the y dpi value should influence the top/bottom border in the testcase.
(Reporter)

Comment 1

17 years ago
Created attachment 21930 [details]
testcase
Pav: potential idea for GFX2 
Assignee: clayton → buster
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: arch, highrisk

Comment 3

17 years ago
unlikely to tackle this any time soon
Target Milestone: --- → Future

Updated

17 years ago
Priority: -- → P5
Keywords: testcase
Build reassigning Buster's bugs to Marc.
Assignee: buster → attinasi
*** Bug 141686 has been marked as a duplicate of this bug. ***
Summary: y dpi can't be different than x dpi → Layout is unable to handle X_DPI != Y_DPI

Comment 6

15 years ago
Note that this issue affects printing, too.
.
Assignee: attinasi → other
Severity: minor → normal
Priority: P5 → --
QA Contact: cpetersen0953 → ian
Target Milestone: Future → ---
Assignee: layout → nobody
QA Contact: ian → layout
You need to log in before you can comment on or make changes to this bug.