Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 rxvt, and can't get that to work.

I tried using antialias=false, like explained e.g. in the rxvt man page (search for "antialias"), but it does not have any effect:

rxvt -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 rxvt 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.

share|improve this question

1 Answer 1

Usually xterm does not apply antialiasing to fonts. However, I think some windowmanagers like compiz generally apply antialias to windows, hence your problem would be your window manager, not your terminal emulator. Try checking your window manager for antialiasing and try disabling it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.