[comp.windows.x] screen physical size in config file

janssen@parc.xerox.com (Bill Janssen) (07/03/90)

In article <3594@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes:

	   The HP X server can be told the screen size by setting the
	   diagonal size in the /usr/lib/X11/X0screens configuration file.
	   Since the screen size depends on the monitor and the monitor can
	   be of various sizes, the server depends on you to configure the
	   size.  The line to set the size should look something like
	   "/dev/crt monitorsize 480  # in millimeters".

   Dunno whether the Open Windows server lets you configure this; it
   certainly should.  Perhaps the sample server should let you do so as
   well?

This would be nice to have in the sample server.  I'd also like to allow
the config file to specify color corrections for color monitors.

--
 Bill Janssen        janssen.pa@xerox.com      (415) 494-4763
 Xerox Palo Alto Research Center
 3333 Coyote Hill Road, Palo Alto, California   94304

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (07/03/90)

   Dunno whether the Open Windows server lets you configure this; it
   certainly should.  Perhaps the sample server should let you do so as
   well?

You can set this in the R4 server with the -dpi command line option.

jg@crl.dec.com (Jim Gettys) (07/04/90)

Ah, but the sample server is lacking a -dpmm switch....

We got the protocol right, and spec'd things in Millimeters...

Now the sample server sets -dpi; silly....  And the sample
server has other inch disease...

In my new multi-screen driver, I chose to do it right, and
do millimeters...  Now I find we convert from inches to mm
and back to inches in our R4 ddx with the new driver...

When I get a moment, I'll file a bug report.
				- Jim