The default TrueType font for xterm and its variants is set to use the font matching the name 'mono'. Check with:
$ fc-match mono
It is most likely DejaVu Sans Mono.
Thanks a lot, you were right!
danilo@t410:~$ fc-match mono
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
Is there a way to find out which true type font is currently loaded in UXterm?
xrdb -query | grep xft:
$ fc-match mono
It is most likely DejaVu Sans Mono.
The bitmap fonts selectable from the Unicode Fonts menu are specified in '/usr/share/X11/app-defaults/UXTerm'. "Default" is given as:
*VT100.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
Other than the ISO encoding, this is the same font as 'fixed' and '6x13'.
]]>UXTerm*eightBitInput: false
UXTerm*metaSendsEscape: true
UXTerm*reverseVideo: true
UXTerm*bellIsUrgent: true
UXTerm*faceName: Terminus
UXTerm*faceSize: 7
Neither community/terminus-font nor aur/terminus-font-ttf are installed. This is what happens when I look for files named "Terminus" on my system:
danilo@t410:~$ locate Terminus
/usr/share/kbd/consolefonts/Lat2-Terminus16.psfu.gz
/usr/share/kbd/consolefonts/README.Lat2-Terminus16
The problem is that I'd like to patch the currently used font for Powerline, but don't know which font I'm using. I always thought I was using Terminus, but if you look at the shapes of the lowercase L character, you see that this isn't Terminus:
Another difference can be seen in the N character:
Here are Terminus screenshots for comparison: http://terminus-font.sourceforge.net/shots.html
When I remove the "UXTerm*faceName: Terminus" line from my .Xresources, the font changes and looks like this:
So the line clearly does have an effect. Something else I discovered was that if I ctrl-rightclick in the terminal and remove the checkmark next to "TrueType fonts", the font immediately changes and looks like the last screenshot above.
So apparently adding the "UXTerm*faceName: Terminus" line to .Xresources makes UXterm switch to some true type font which is not Terminus.
Is there a way to find out which true type font is currently loaded in UXterm?
]]>