On Thu, 28 Feb 2002, S. Anderson wrote:

> On Wed, Feb 27, 2002 at 07:45:47PM -0600, [EMAIL PROTECTED] wrote:
> > On Wed, Feb 27, 2002 at 04:44:22PM -0700, Sa Anderson wrote:
> > > Hi,
> > > I'm not sure if this is the right list to post this, but here it is:
> > > 
> > > When I start `xterm -fa "Lucida Console" -fs 10' in 1280x1024 the font
> > > looks OK, but in 800x600 it shows way smaller.
> > 
> > My guess would be that that font size is in points, and the dpi that
> > XFree86 reports differs depending on the video mode.
> > 
> > You can try setting the DisplaySize of your monitor in XF86Config-4,
> > from which the dpi will be derived (according to "man XF86Config")
> > 
> > Jeff
> 
> I tried Option "DisplaySize" "340 270" It doesnt seem to do anything
> for the nvidia driver: '(WW) NVIDIA(0): Option "DisplaySize" is not used'
> and with the nv driver the only thing different is i get two small
> and funky mouse cursors :-)
> 
> xdpyinfo gives:
> screen #0:
>   dimensions:    1280x1024 pixels (342x271 millimeters)
>   resolution:    95x96 dots per inch
>   depths (7):    24, 1, 4, 8, 15, 16, 32
> 
> and...
> screen #0:
>   dimensions:    800x600 pixels (344x272 millimeters)
>   resolution:    59x56 dots per inch
>   depths (7):    24, 1, 4, 8, 15, 16, 32
> 
> So i guess i just have to figure out how to get 95x96 dots per inch in
> 800x600.
> 

   XFree86 has a -dpi commandline option.

   There was a thread on this list at one time about how dpi reporting
wasn't very useful (started by me, I think).  It changes depending
on what mode you're in.  The protocol passes down this value at
connection time so clients don't pick up on these changes.  I think
it should just be hardcoded to some sane value and left alone.


                        Mark.

_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to