For purpose of reference: anti-alias Emacs

Posted on April 8, 2009. Filed under: Debian, HowTo, command line shell, development, sys admin | Tags: , , , , , |

[is.gd/riyx] I know that there is Emacs, the ultimative kitchen sink. But I cannot stand rasterizedly looking fonts (anymore). So, I refused to give Emacs any closer look at all. Now, despite used to Kate, in indenting sources Emacs looks to be superior.

So, how to anti-alias Emacs, then?

  1. Get a special version of Emacs: Add these two lines to your /etc/apt/sources.list:
    deb http://emacs.orebokech.com lenny main
    deb-src http://emacs.orebokech.com lenny main

  2. Install Emacs from that source:
    # apt-get install emacs-snapshot

  3. Create/Append to the ~/.Xresources file:
    $ echo 'Emacs.font: Bitstream Vera Sans Mono-8' >> ~/.Xresources
    $ echo 'Emacs.fontBackend: xft' >> ~/.Xresources
    $ echo 'Xft.antialias: 1' >> ~/.Xresources
  4. Apply the configuration of ~/.Xresources:
    $ xrdb -merge ~/.Xresources

That’s it, launching Emacs, now, should give you nice anti-aliased fonts, similarly to those used by Kate.
 

As always, if you apply the steps described here, you do so at your own risk. Sources I used for this post were 7ever (Aug 9, 2008) — Use emacs23 and xft on debian and Gentoo.org (Jan 2, 2009) –
Using Emacs XFT Support
.

Make a Comment

Make a Comment: ( 2 so far )

blockquote and a tags work here.

2 Responses to “For purpose of reference: anti-alias Emacs”

RSS Feed for Tech/Social/Howto Comments RSS Feed

[...] beautiful and even more of a pleasure and a joy to use. Dagobart recently wrote a post, explaining how to set this up on [...]

[...] see XftGnuEmacs on EmacsWiki. Alexandre Vassalotti has a Pretty Emacs Reloaded package for Ubuntu. Another page describing how to set this up on [...]


Where's The Comment Form?

Liked it here?
Why not try sites on the blogroll...