changing font

Mike Ayers mike_ayers@tva.tvworks.com
Tue Jun 22 17:21:00 GMT 2010


> From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-
> owner@cygwin.com] On Behalf Of matias kaukonen
> Sent: Tuesday, June 22, 2010 6:06 AM

> I'm new to cygwin/xfree and I'm trying to change my xterm font.   What
> I did was, typed 'xlsfonts' at
> the command prompt.  Then I selected a font name and added it to my
> .Xdefaults, for example
> 'XTerm*font: -*-courier-bold-r-normal-*-*-180-*-*-*-*-iso8859-1'.
> This produced the following message:
> xterm:  unable to open font "*****", trying "fixed".... I repeat this
> procedure about 10 times and
> got the same message each time.   Is this fixable?  If so, what would
> you suggest?

	The old trick is to spark up xfontsel, which can help you narrow down to the font you want.  Then push the "select" button, which copies the (oft-mistyped) font spec onto the clipboard.

	Next, in an xterm, type "xterm -fn '", dump the clipboard, close the single quote and hit return to verify that the font is usable.

	If that works, then you get to double check your .XDefaults grammar.


	HTH,

Mike

P.S.  I got my setup to use that massive font as a test, and I envy your monitor, weak soul that I am.



More information about the Cygwin-xfree mailing list