Marcus Lundblad <ml_at_update.uu.se> writes:
>
>
> On Wed, 14 Nov 2001, Perry Hutchison wrote:
>
> > > You can even query the X server for the X_RESOLUTION (pixels
> > > per meter) and pick the font based on that.
> >
> > Some caution is needed here. The report should be taken with a
> > grain of salt, since -- at least on a PC -- the X server may not
> > know the actual screen size. It knows the screen is, say, 1200
> > pixels high; but it does not know for sure whether those 1200
> > pixels are spread over 30 cm or only 20 cm.
>
> Actually I think it use Plug'n'Play to see what kind of monitor it is
> (ptovided it is in the database). Can this be the case?
I think Perry has a point. On my Solaris machines I think its always
90x90dpi. I don't know if XFree does a better job.
--
Dan Espen
444 Hoes Lane Room RRC 1C-214 E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854 Phone: (732) 699-5570
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Nov 14 2001 - 14:50:12 GMT