[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Favorite font for Emacs

From: Gary Oberbrunner
Subject: Re: [h-e-w] Favorite font for Emacs
Date: Mon, 16 Jul 2012 16:00:36 -0400 (EDT)

I'm a big fan of Droid Sans Mono Dotted at 10 point.  (Just google it)

Here's my .emacs stanza to load it:

(setq preferred-fonts
        ;; Droid Sans Mono: quite nice.
        ;; 15 pixels total height at 10 point.  Clear & crisp.
        ;; (e.g.
        "Droid Sans Mono Dotted-10"
        "Droid Sans Mono-10"
        ;; Consolas: download installer from Microsoft.
        ;; Quite beautiful and renders nicely, but a little light.
        ;; Pretty similar to Droid Sans Mono.
        ;; The slanted verticals on the capital M annoy me a little.
        ;; (16 pixels height)
        ;; Inconsolata: lots of people like this.
        ;; about same size as Consolas-10.5, but thicker and less leading
        ;; (17 pixels height) and not as smooth lines.  Feels chunky.
        ;; default
        "Courier New-10.5"))
(defun find-first-font (list)
  (cond ((null list)
        ((x-list-fonts (car list))
         (message (concat "Using font " (car list)))
         (car list))
        (t                              ; recurse
         (find-first-font (cdr list)))
; set default font attributes (for all frames)
(set-face-attribute 'default nil :font (find-first-font preferred-fonts))

-- Gary

----- Original Message -----
> From: "Sarir Khamsi" <address@hidden>
> To: "ntemacs" <address@hidden>
> Sent: Monday, July 16, 2012 3:52:57 PM
> Subject: [h-e-w] Favorite font for Emacs
> I've been using a 6x13 font for Emacs on Windows for a very long time
> and while I like the size and proportions, it does not display
> italics
> and other properties. The 6x13 font (that I can't even remember where
> I
> got it) is great for coding as it's fixed pitch and small, but it's
> so
> 20th century. :-)
> What do you folks use for fixed pitch fonts that work under Windows 7
> with Emacs 24.1? Ideally, I'd like to use the same font as my Linux
> (Fedora) install (without having to run X). Thanks.
> Sarir
> --
> Sarir Khamsi
> software guy
> address@hidden

Gary Oberbrunner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]