I wonder whether there's a way to make urxvt render xft fonts:
URxvt.font: xft:Droid Sans Mono Slashed:pixelsize=9:Regular
URxvt.boldFont: xft:Droid Sans Mono Slashed:pixelsize=9:Bold
URxvt.talicFont: xft:Droid Sans Mono Slashed:pixelsize=9:Italic
URxvt.bolditalicFont: xft:Droid Sans Mono Slashed:pixelsize=9:Bold:Italic
If I try this, I get something like:
So it scales pretty bad:
! Fonts
Xft.dpi: 132
Xft.antialias: true
Xft.rgba: rgb
Xft.hinting: true
Xft.autohint: true
Xft.hintstyle: hintfull
I'm not sure whether this is one of the reaons. However I want antialias and that Droid. Is there any trick here?
urxvt will use a default font if it cannot find the xft font name you specify. For example, the following will look like your screenshot:
To find out which xft fonts you have available, run:
Here is how I run urxvt with the beautiful Ubuntu Monospace font:
I got it just working with command line option "-letsp -1", see also
http://www.saltycrane.com/blog/2009/11/how-make-urxvt-look-gnome-terminal/
If I remember, the spacing was fixed by
This is my .Xresources:
I have this in my
.Xdefaults
and Droid Sans Mono looks great:Please note that there's a bug report regarding letter spacing. There's a work-around, though, which was proposed in the bug discussion and which I repeated over at unix.stackexchange.com (in case you can't find it).