Is this a known problem? When I run xrdb I get a floating point exception in Resolution(), which I imagine is related to this output from xdpyinfo: screen #0: print screen: no dimensions: 1920x1200 pixels (0x0 millimeters) resolution: -2147483648x-2147483648 dots per inch -- Richard -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
On Dec 8, 2008, at 07:29, Richard Tobin wrote:
Is this a known problem? When I run xrdb I get a floating point exception in Resolution(), which I imagine is related to this output from xdpyinfo:
screen #0: print screen: no dimensions: 1920x1200 pixels (0x0 millimeters) resolution: -2147483648x-2147483648 dots per inch
What version are you running? Leopard versions of X11 should report a hard-coded value of 75dpi, and starting with 2.3.2_beta??, it reports 96dpi: screen #0: print screen: no dimensions: 3360x1178 pixels (889x312 millimeters) resolution: 96x96 dots per inch
+ Jeremy Huddleston <jeremyhu@apple.com>:
What version are you running? Leopard versions of X11 should report a hard-coded value of 75dpi, and starting with 2.3.2_beta??, it reports 96dpi:
Hmm. Don't modern displays actually communicate both physical dimensions and the number of pixels to the host computer over the DVI interface (or VGA even)? Why is there a need to hard code screen resolutions? Right now I am looking at a ruler on my screen that is put there by Art Director's Toolkit. It is nicely graduated in millimeters, and ... uh-oh ... forget that, the graduation is totally wrong on my laptop screen ... 100 mm as measured by a physical ruler is 148 mm by the toolkit's ruler. So I guess this problem, which one might naïvely think is easy (Apple is after all controlling the hardware), is still unsolved. I find that puzzling, and just a little unsettling. Or do you believe in a different millimeter on your side of the pond? - Harald
On Dec 8, 2008, at 15:38, Harald Hanche-Olsen wrote:
+ Jeremy Huddleston <jeremyhu@apple.com>:
What version are you running? Leopard versions of X11 should report a hard-coded value of 75dpi, and starting with 2.3.2_beta??, it reports 96dpi:
Hmm. Don't modern displays actually communicate both physical dimensions and the number of pixels to the host computer over the DVI interface (or VGA even)? Why is there a need to hard code screen resolutions?
X11 doesn't know about the difference between multiple monitors. It is seen as one large display, so we can't say "display 0 is 96dpi and display 1 is 110dpi"
participants (4)
-
Harald Hanche-Olsen
-
Jeremy Huddleston
-
Jeremy Huddleston
-
Richard Tobin