wrong dpi value for rendering fonts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-control-center (Ubuntu) |
New
|
Wishlist
|
Ubuntu Desktop Bugs |
Bug Description
In System → Preferences → Appearance → Details, we can change the value of dpi for rendering fonts.
By default, it's 96.
The first thing is there should be 2 values : horizontally and vertically (pixels are not always square).
About my screen, I have 129dpi horizontally and 133dpi vertically, according to xdpyinfo
$ xdpyinfo | grep resolution
resolution: 129x133 dots per inch
To know which of gnome or xdpyinfo was right, I checked : my screen has a diagonal of 15,4', with a resolution of 1680×1050 (16:10).
So 16a² + 10a² = 15,4² (pytagor), and we conclude that width=16a≈13,06'.
1680/13,
I saw several bug reports about this, with «fix released». I use a fresh install of Ubuntu 8.04.1, so it doesn't seem resolved.
But setting to the right value (129) would be a bit disturbing : in that case, I have to set all my fonts to size 7 !
In gnome settings, I set all fonts to 7, it's ok, but I have to do the same in all non-gnome application (which usually use font-size 10).
Moreover, some websites use mixed 'pt' and 'px' unit, where 'pt' depends of dpi (1pt=1/72 inch), and 'px' doesn't, so setting the right value would have some impacts.
What do you think about that?
s/pytagor/ pythagoras/
(english… english…)