glogglog

Use emacs23 and xft on debian

  1. add

    deb http://emacs.orebokech.com sid main

    to apt repository /etc/apt/sources.list

  2. install

    apt-get install emacs-snapshot

  3. edit ~/.Xresources
    Emacs.font: bitstream vera sans mono-12
    Emacs.FontBackend: xft
    Xft.dpi: 96
    Xft.hinting: None
    Xft.antialias: 1
    Xft.rgba: rgb
  4. edit ~/.emacs
    (set-fontset-font (frame-parameter nil 'font)
                       'han '("STHeiti" . "unicode-bmp"))

below is snapshot:



Tags: font | emacs | debian | xft |


sevenever@gmail.com
Copyright © 2008. All rights reserved.