Re: Command to determine resolution
On Sun, Dec 03, 2000 at 11:38:21AM -0500, David Z Maze wrote:
[Very informative font discussion snipped]
> What you probably actually want for "10-point Courier" is
>
> -*-courier-medium-r-normal-*-*-100-*-*-m-*-iso8859-1
>
> which will get you a monospaced font from some foundry named 'courier'
> using the iso8859-1 encoding, at 10 points. But it's unfortunately
> common among programs to either (a) record the full name of the font,
> including point size and DPI, so when you change server DPI the font
> doesn't follow, or (b) use legacy font names like '6x9', which refer
> to character-cell bitmap fonts exactly six pixels wide and nine tall.
Thanks. This would explain my observations and is far more specific a
reason than the one I proposed. A quick check with a netscape setting
in .Xresources shows that the -dpi setting is honoured for the menu
fonts when I put
Netscape*fontList:-*-helvetica-medium-r-normal-*-*-140-0-0-*-*-iso8859-*
However, I had to have 0 for xres and yres rather than a * for this to
work.
Brian.
--
email: brian@copernicus.demon.co.uk
Reply to: