ログ日記

作業ログと日記とメモ

etchのemacsのフォントでアンチエイリアスを有効にする

Pretty Emacs というのがあるらしい。

1. First, make sure you have the source repository enabled, by adding deb-src http://ppa.launchpad.net/avassalotti/ubuntu gutsy main to your /etc/apt/sources.list.
2. Install the build-dependencies and some packaging tools:

sudo apt-get update
sudo apt-get build-dep emacs-snapshot
sudo apt-get install dpkg-dev devscripts fakeroot emacsen-common

3. Download the source package and compile it with:

fakeroot apt-get --compile source emacs-snapshot

Finally, install the newly built packages:

sudo dpkg -i emacs-snapshot*.deb

Note, this final step may fail if you have an older version of the package already installed. If it is the case, just do it again.

Pretty Emacs: Compile guide for unsupported platforms

via: Debian LennyにPretty Emacsをインストールする - 守破離


etchでもできたよ!debianすげー。


フォントの設定は

echo "Emacs.font: Monospace-10" >> ~/.Xresources
xrdb -merge ~/.Xresources
Pretty Emacs

こんな感じ。
フォントが変わっただけで全く別のエディタみたいだ。


# 追記
日本語の場合は .Xresources に

Emacs.FontBackend: xft

も追加しなければいけない。