My system (Debian squeeze) uses anti-aliasing for fonts, which is fine for the most part. However, I would like to disable it for terminal fonts in xterm and urxvt (rxvt-unicode), and can't get that to work.
I tried using antialias=false
, like explained e.g. in the urxvt man page (search for "antialias"), but it does not have any effect:
urxvt -fn "xft:Deja Vu Sans Mono:pixelsize=10:antialias=false"
I get exactly the same font rendering, no matter if I use antialias=true
or false
. The font face and size I specify do have an effect, so urxvt apparently processes the option.
Same result with xterm (using -fa
), or when putting Xft*antialias: false
into my X resources (as proposed in How can I turn off font-antialiasing only for gnome-terminal, but not for other applications?).
What am I doing wrong? Is there some other setting?
Edit:
Just found out that I can disable anti-aliasing in /etc/fonts/local.conf
:
<match target="font">
<edit name="antialias" mode="assign">
<bool>false</bool>
</edit>
</match>
Still, I don't understand why antialias=false
is not respected in a font spec.