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.
Pav: potential idea for GFX2
Assignee: clayton → buster
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: arch, highrisk
unlikely to tackle this any time soon
Target Milestone: --- → Future
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
Note that this issue affects printing, too.
Assignee: attinasi → other
Severity: minor → normal
Priority: P5 → --
QA Contact: cpetersen0953 → ian
Target Milestone: Future → ---
You need to log in before you can comment on or make changes to this bug.