wrong dpi value for rendering fonts

Bug #253072 reported by ®om
6
This bug affects 1 person
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,06=128,64≈129, so xdpyinfo was right.

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?

Revision history for this message
®om (rom1v) wrote :

s/pytagor/pythagoras/

(english… english…)

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, that's not something which makes sense for most users and not something the ubuntu team is likely to work on, could you open the request directly on bugzilla.gnome.org?

Changed in gnome-desktop:
assignee: nobody → desktop-bugs
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.