[LAU] [OT] modelines ?

Adam Sampson ats at offog.org
Mon Dec 17 04:38:19 EST 2007


david <gnome at hawaii.rr.com> writes:

> It gets the screen resolution right, just the font sizes are
> massively off.

Xorg calculates the screen DPI automatically, so if you switch to a
larger resolution on a display that reports the same physical size
then a 10-point font will still be the same number of millimeters
tall. Look at the "resolution" line in xdpyinfo's output to see what
DPI it's currently running at.

If you want to override the DPI calculation, making a 10-point font
the same number of *pixels* tall regardless of the resolution, then
you can pass an option like "-dpi 96" to the X server (by editing
.xserverrc if you use startx, or /etc/gdm/gdm.conf if you use GDM).

-- 
Adam Sampson <ats at offog.org>                         <http://offog.org/>



More information about the Linux-audio-user mailing list