chiark / gitweb /
dot/emacs: Force use of server-side X fonts.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 3 Jan 2010 17:05:57 +0000 (17:05 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 3 Jan 2010 17:05:57 +0000 (17:05 +0000)
The client-side fonts through Xft are unreasonably slow.  This hack
seems to work fairly well; we still have most of the right international
characters.

dot/emacs

index ef0feacfd1722453dc1f1d789d677b40a7cbcda4..478566bdee2507ac5151abfdc04003872d6c597f 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
        (if mdw-black-background
           '((background-mode . dark))
         '((background-mode . light)))
        (if mdw-black-background
           '((background-mode . dark))
         '((background-mode . light)))
+       (and (eq window-system 'x)
+           '((font . "6x13")))
        (and (eq window-system 'pm)
            '((font . "-os2-System VIO-medium-r-normal--*-40-*-*-m-*-cp850")
              (menu-font . "8.Helv")
        (and (eq window-system 'pm)
            '((font . "-os2-System VIO-medium-r-normal--*-40-*-*-m-*-cp850")
              (menu-font . "8.Helv")