NetBSD-Users archive

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

Re: How to set font size of xterm



    Date:        Thu, 16 Apr 2020 04:32:38 +0000 (UTC)
    From:        Clay Daniels <clays.shell%SDF.ORG@localhost>
    Message-ID:  <alpine.NEB.2.21.2004160416090.18156%sdf.lonestar.org@localhost>

  | I kind of like the simplicity of xterm, and it comes with the basic twm 
  | window manager I use. My problem is the small font size, but I can't 
  | seem to figure out how to set the xterm font size.  Any clues?

Like all good X applications - via your X resources.

I have (amongst unrelated to fonts settings)

XTerm*VT100.font:       -*-lucidatypewriter-medium-r-normal-*-10-*-*-*-*-*-iso8859-1
XTerm*VT100.boldFont:   -*-lucidatypewriter-bold-r-normal-*-10-*-*-*-*-*
XTerm*VT100.font2:      -dec-terminal-medium-r-normal-*-6-*-*-*-*-*-iso8859-1
XTerm*VT100.font3:      -misc-fixed-medium-r-normal-*-8-60-100-100-*-*-*-*
XTerm*VT100.font4:      -*-lucidatypewriter-medium-r-normal-*-12-*-*-*-*-*-iso10646-1
XTerm*VT100.font5:      -*-lucidatypewriter-medium-r-normal-*-18-*-*-*-*-*-iso10646-1
XTerm*VT100.font6:      -*-lucidatypewriter-medium-r-normal-*-24-*-*-*-*-*-iso10646-1

Obviously you'll want to choose your own fonts (I use xfontsel for that).
Do test them in an xterm

	xterm -fn 'font-name'

as some fonts just don't work (you'll want fixed width fonts for sure).

xterm can use other methods to select fonts, read its man page, there is a
lot of info there.

kre



Home | Main Index | Thread Index | Old Index