[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fonts changed after X upgrade in unstable



On Sat, 22 Apr 2006, Florian Kulzer wrote:

On Fri, Apr 21, 2006 at 16:21:11 -0700, Nate Eldredge wrote:
On Fri, 21 Apr 2006, Florian Kulzer wrote:
Your problem might be due to changes in your X server's resolution
settings, which influence the size of the fonts on the screen. You can
check this from an X terminal with the command

xdpyinfo | grep resolution

[...]

Thanks for the suggestion, I wasn't aware that such a setting existed.
It looks like mine is set to 75x75 dpi.  The screen is about a 14" LCD
which is 1024x768 pixels.  That does seem too low; by my calculations the
screen should be 1280 pixels diagonally, so it should be more like 90 dpi.

How would I adjust this?  I don't see anything that seems to set screen
dpi in either my old or new X server config files, so I don't know what
the old value was or how it got changed.

To try different settings quickly, you can start X like this:

startx -- -dpi 84

Aha, that did the trick. And for some reason it didn't affect xterm, etc, either. Maybe those have a fixed font size set somewhere.

Now to figure out how to set it permanently. I grepped all of /etc/X11 for "dpi"; the only match I found was in /etc/X11/xinit/xserverrc which has

exec /usr/bin/X11/X -dpi 100 -nolisten tcp

But 100 dpi is not the value that's being used, so this can't be it. Moreover this file doesn't seem to have changed since the upgrade. Do you know what's the "right" place to specify arguments to the X server? I normally start the server manually with "startx".

Thanks again!

--
Nate Eldredge
nge@cs.hmc.edu



Reply to: