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*fontused to specify only bitmap fonts and is*faceNameused only for TrueType fonts?I'm using the commands
xlsfontsandfc-listto 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 ubuntuUbuntu 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: familywhich prints the font face name without thestyle=...annotation, and that's what you should give to xterm. Thespacing=monorequirement helps you avoid inappropriate fonts (a terminal screen is a grid of characters, and variable width fonts look ridiculous when forced into a grid) – Apr 23 '15 at 00:58fc-listcommand you get the family name exactly as you should use it. – Apr 23 '15 at 02:29fc-listcommand helped – kshenoy May 04 '16 at 03:27