Skip to content

Instantly share code, notes, and snippets.

@riccardoscalco
Created December 6, 2017 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save riccardoscalco/9c9e7dc133df6bd40994e6cf5c4c09b6 to your computer and use it in GitHub Desktop.
Save riccardoscalco/9c9e7dc133df6bd40994e6cf5c4c09b6 to your computer and use it in GitHub Desktop.
how to use ttf fonts in xterm

Add fonts to directory ~/.fonts.

See available fonts:

$ fc-list | col | sort | less

For example, among all I have:

/home/riccardo/.fonts/iosevka-term/ttf/iosevka-term-regular.ttf: Iosevka Term:style=Regular

Add the following to '~/.Xdefaults':

XTerm*faceName:  Iosevka Term
XTerm*faceSize: 15

Reload resource file and run xterm:

$ xrdb ~/.Xresources
$ xterm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment