Comment 37 for bug 151311

Revision history for this message
Luka Renko (lure) wrote : Re: DPI in kubuntu incorrect on xorg-video-driver-intel

I have just tested the proposed packages on HP nw8240 with ATI FireGL V5000 (PCIE) with 15.4" (310x210mm), 1920x1200 panel. As expected, this workaround causes that DPI is hardcoded to 96 - xdpyinfo diff:

--- xdpyinfo.before 2007-10-12 22:58:18.000000000 +0200
+++ xdpyinfo.after 2007-10-12 23:37:58.000000000 +0200
@@ -17,7 +17,7 @@
     depth 24, bits_per_pixel 32, scanline_pad 32
     depth 32, bits_per_pixel 32, scanline_pad 32
 keycode range: minimum 8, maximum 255
-focus: window 0x2400007, revert to PointerRoot
+focus: window 0x2600007, revert to PointerRoot
 number of extensions: 33
     BIG-REQUESTS
     Composite
@@ -56,8 +56,8 @@
 number of screens: 1

 screen #0:
- dimensions: 1920x1200 pixels (331x207 millimeters)
- resolution: 147x147 dots per inch
+ dimensions: 1920x1200 pixels (507x317 millimeters)
+ resolution: 96x96 dots per inch
   depths (7): 24, 1, 4, 8, 15, 16, 32
   root window id: 0x59
   depth of root window: 24 planes

Side effect of this change is the fact that now fonts are two small - I would need to increase the font size to get some readable font size.
I think this is step back for high-resolution displays (>120 DPI), as they will get fonts (and other UI widgets) smaller then they are defined (in terms of pt).