After a lot of mucking around Xterm, poring through reams of webpages I have thrown in the towel and realized that this isn't something I can figure out on my own.
TrueType vs Bitmap
Is the option
xterm*font
used to specify only bitmap fonts and is*faceName
used only for TrueType fonts?I'm using the commands
xlsfonts
andfc-list
to find out the Bitmap and TrueType fonts that are installed. Is this correct?I want to set the XTerm font to Ubuntu Mono. This is the output of
fc-list | grep -i ubuntu
Ubuntu Mono for Powerline:style=RegularForPowerline Ubuntu Mono for Powerline:style=Bold Italic Ubuntu Mono for Powerline:style=BoldForPowerline Ubuntu Mono for Powerline:style=ItalicForPowerline
and I added XTerm*faceName: Ubuntu Mono for Powerline:style=RegularForPowerline
to my ~/.Xresources
and ran xrdb -merge ~/.Xresources
xrdb -query all
shows that *faceName
is set to Ubuntu Mono for Powerline:style=RegularForPowerline
However, this doesn't work. What am I missing/screwing up here?
fc-list :scalable=true:spacing=mono: family
which prints the font face name without thestyle=...
annotation, and that's what you should give to xterm. Thespacing=mono
requirement helps you avoid inappropriate fonts (a terminal screen is a grid of characters, and variable width fonts look ridiculous when forced into a grid)fc-list
command you get the family name exactly as you should use it.fc-list
command helped