stream303
February 29th, 2008, 05:29 AM
Is Xorg calculating the proper screen-dpi for your monitor? I think for many of us it may not be, and that we could be using sub-optimal DPI settings!
Dirk and I got into a related discussion and this came up so I wanted to give it it's own thread since this may be more universal than I thought.
Normally Xorg is supposed to figure out what the optimal dpi settings are for your monitor. It is based on the following in this order:
1) What you issue at the commandline, like startx -- -dpi 96
2) Xorg will calculate the proper dpi from your "DisplaySize" setting in the MONITOR section of xorg.conf. I have never seen this on ppc! I have only seen a display setting in the SCREEN section, but the dpi isn't calculated from that.
3) Xorg will take what it gets from DDC probing.
4) If all that fails, your dpi will be dropped back to a very low default of 75.
How to check what Xorg is currently using (rightly or wrongly):
grep DPI /var/log/Xorg.0.log
How to check what your dpi should be:
xdpyinfo | grep -b1 dot
In my G5 iMac, which has a 20" screen, the resolution is 1680x1050 and the dpi should be 100
bg@ubuntu:~$ xdpyinfo | grep -B1 dot
dimensions: 1680x1050 pixels (427x267 millimeters)
resolution: 100x100 dots per inch
Previously, after installation (this is Gutsy), I had just manually changed my dpi by going into font-preferences, finding the detail tab, and moving the dpi value up to 105 subjectively. I guess I should knock it back down to 100. Thing is, I don't recall if during installation, that it got it right initially.
Since I don't recall ever seeing any "DisplaySize" settings in my xorg.conf's monitor section, and if DDC probing fails to return a good value, you could end up with the fallback size of 75 dpi, which may not be right for your system.
I wonder how many of us are suffering from this?
I mean early 80's macs were at 72 dpi, and windows defaults to what, 96 dpi? The link here might be useful:
http://www.scantips.com/no72dpib.html
.
Dirk and I got into a related discussion and this came up so I wanted to give it it's own thread since this may be more universal than I thought.
Normally Xorg is supposed to figure out what the optimal dpi settings are for your monitor. It is based on the following in this order:
1) What you issue at the commandline, like startx -- -dpi 96
2) Xorg will calculate the proper dpi from your "DisplaySize" setting in the MONITOR section of xorg.conf. I have never seen this on ppc! I have only seen a display setting in the SCREEN section, but the dpi isn't calculated from that.
3) Xorg will take what it gets from DDC probing.
4) If all that fails, your dpi will be dropped back to a very low default of 75.
How to check what Xorg is currently using (rightly or wrongly):
grep DPI /var/log/Xorg.0.log
How to check what your dpi should be:
xdpyinfo | grep -b1 dot
In my G5 iMac, which has a 20" screen, the resolution is 1680x1050 and the dpi should be 100
bg@ubuntu:~$ xdpyinfo | grep -B1 dot
dimensions: 1680x1050 pixels (427x267 millimeters)
resolution: 100x100 dots per inch
Previously, after installation (this is Gutsy), I had just manually changed my dpi by going into font-preferences, finding the detail tab, and moving the dpi value up to 105 subjectively. I guess I should knock it back down to 100. Thing is, I don't recall if during installation, that it got it right initially.
Since I don't recall ever seeing any "DisplaySize" settings in my xorg.conf's monitor section, and if DDC probing fails to return a good value, you could end up with the fallback size of 75 dpi, which may not be right for your system.
I wonder how many of us are suffering from this?
I mean early 80's macs were at 72 dpi, and windows defaults to what, 96 dpi? The link here might be useful:
http://www.scantips.com/no72dpib.html
.