Firefox uses the wrong DPI; should use the GNOME desktop setting in GConf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
New
|
Unknown
|
|||
firefox (Ubuntu) |
Triaged
|
Low
|
Unassigned | ||
ubufox (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: firefox-3.0
I noticed that the text on my homepage was larger than it used to be: http://
After double-checking my source code (and finding that the font should be 10pt high), I checked to see what would happen if I set the DPI manually to that of my screen. In about:config I changed layout.css.dpi from -1 (automatic?) to 96, and this caused the text to be drawn at the right size.
Firefox is apparently checking the DPI settings for my screen automatically. xdpyinfo reports my screen as being:
screen #0:
dimensions: 1280x1024 pixels (300x230 millimeters)
resolution: 108x113 dots per inch
Which is a bug in X also introduced this cycle.
Firefox should use the GNOME DPI setting when its own DPI setting is "automatic" (-1). This value currently resides in GConf under /desktop/
This also affects Epiphany, which is how I found the problem in the first place.
ProblemType: Bug
Architecture: i386
Date: Wed Mar 12 17:15:33 2008
DistroRelease: Ubuntu 8.04
Package: firefox 3.0~b3+
PackageArchitec
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-11-386 i686
Changed in firefox: | |
status: | Unknown → New |
Changed in firefox: | |
importance: | Unknown → Medium |
affects: | firefox-3.5 (Ubuntu) → firefox (Ubuntu) |
Changed in firefox: | |
status: | New → Unknown |
Changed in firefox: | |
status: | Unknown → New |
Changed in firefox: | |
importance: | Medium → Unknown |
I can confirm that setting about:config -> 'layou.css.dpi' to 96 solved my font-rendering problems in FF (and persist in all other Gecko-rendering applications I have installed).
xdpyinfo gives me:
screen #0:
dimensions: 1680x1050 pixels (300x230 millimeters)
resolution: 142x116 dots per inch
For the sake of completeness, I assume https:/ /bugs.launchpad .net/ubuntu/ +source/ xserver- xorg-video- intel/+ bug/201032 is the root cause. Or?
(And thanks for the workaround, Alexander -- hero of the day!)