I'm trying to use X fonts that actually correspond to the size of my display. XFree86 4 is good about letting you specify the physical size of your display in the XF86Config file, and reporting that as the display resolution via xdpyinfo. So far, so good; on my laptop, it tells me I have 123x124 dpi resolution, which matches up with hand calculation.
I'd like to get ~125 dpi fonts to match the display. I admit to not being a big fan of bitmapped fonts, since they fail in pretty much exactly this situation. Fortunately, Debian includes a nice set of scalable fonts (particularly if you slurp in the Ghostscript fonts using the gsfonts-x11 package); I can request fonts like -*-helvetica-medium-r-normal--0-120-123-124-p-0-iso8859-1 (any vendor's scalable ISO8859-1 Helvetica medium upright, in 12-point at 123x124 dpi), and that works fine. But if I use 0 or * for the resolution and query with xlsfonts (specifically, using something like "xlsfonts -ll -fn '-*-helvetica-medium-r-normal--0-120-0-0-p-0-iso8859-1'"), the fonts I get back have a 100x100 dpi resolution. Is there any way to get the default font returned for scalable X fonts to match the physical display resolution, without hard-coding it? -- David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ "Theoretical politics is interesting. Politicking should be illegal." -- Abra Mitchell