I have installed urxvt and I like the default font being used (white font in attached screenshot) but I can't figure out what it is.
The font is not defined in Xresources or Xdefaults.
I have also read that it uses one of the font in fc-list but I don't know which one is being used exactly.
Best Answer
If no fonts are specified in
.Xdefaults
,.xresources
or on the command line, the default single-byte fontrxvt
uses is7x14
.From the file
src/defaultfont.h
in the rxvt source:These fonts are loaded into the default rxvt font set in their respective positions when nothing has been specified for that position. Note that if you use a multi-byte encoding, there is a different default.
In response to the comment below, I cannot say for sure whether that is 6x13 or not, all I can point to is this logic in
defaultfont.c
If the locale is C the
Rs_font[0]
is7x14
andRs_font[2]
is6x13
. When and where[0]
vs[2]
are used to render text is beyond my motivation to search through this unfamiliar code.If the encoding is not C/POSIX, the 8859 fonts loaded by the above code are:
And if multi-byte encodings are in use, a whole different encoding specific set of fonts are used for the default.