help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: recommended font for emacs xft


From: Marc Schwartz
Subject: Re: recommended font for emacs xft
Date: Wed, 15 Aug 2007 10:28:20 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)

Tamas Papp <tkpapp@gmail.com> writes:

> Marc Schwartz <marc_schwartz@comcast.net> writes:
>
>> Tamas Papp <tkpapp@gmail.com> writes:
>>
>>> Hi,
>>>
>>> I am happy using the alpha version of Emacs23 with the xft extension.
>>> However, I could not find a font that is just "right": Monospace-11
>>> looks very "weak".  I am looking for something not to tall (number of
>>> horizontal lines is important so I can fit more code on a screen).
>>> set-default-font snippets are welcome.
>>>
>>> Thanks,
>>>
>>> Tamas
>>
>> Hi Tamas,
>>
>> I have used:
>>
>>   1. Bitstream Vera Sans Mono
>>
>>   2. Liberation Mono
>>
>>   3. DejaVu Sans Mono
>>
>> They are pretty interchangeable for the most part, but there will be
>> some subtle differences in some font lock modes. I use a height
>> setting of 120 in my .emacs. There are sizes, at least for me wearing
>> bifocals at age 49, where any font is too small, so personal preference and
>> visual acuity may impact upon how small you can go.
>>
>> Try them and see what you prefer.
>>
>> They look great in R/ESS with 23 as well.  Here is a quick screen grab
>> of 23, using ECB/psvn.el while editing .r and .rnw files:
>>
>>   http://home.comcast.net/~marc_schwartz/Emacs23.png
>>
>> HTH,
>>
>> Marc Schwartz
>
> Hi Marc,
>
> Could you please post the relevant part of your .emacs?  Currently
> mine looks like
>
> (set-default-font "Bitstream Vera Sans Mono-10.5")
>
> but I don't know how to set the height independently of the font size.
>
> Tamas

Here is the custom-set-faces section:

(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(default ((t (:stipple nil :background "#ffffff" :foreground "#000000" 
:inverse-video nil :box nil :strike-through nil :overline nil :underline nil 
:slant normal :weight normal :height 120 :width normal :family "DejaVu LGC Sans 
Mono"))))
 '(fixed-pitch ((t nil)))
 '(font-lock-comment-face ((((class color) (background light)) (:foreground 
"Blue" :italic nil))))
 '(font-lock-constant-face ((((class color) (background light)) (:foreground 
"Red"))))
 '(font-lock-doc-string-face ((((class color) (background light)) (:foreground 
"ForestGreen"))))
 '(font-lock-string-face ((((class color) (background light)) (:foreground 
"ForestGreen"))))
 '(font-lock-type-face ((((class color) (background light)) (:foreground 
"Red"))))
 '(gnus-summary-normal-read ((t (:weight normal))))
 '(gnus-summary-normal-unread ((t (:weight bold))))
 '(minibuffer-prompt ((t (:background "yellow" :foreground "black" :weight 
bold))))
 '(paren-match ((t (:background "turquoise"))))
 '(speedbar-button-face ((((class color) (background light)) (:foreground 
"green4" :size "7" :bold t))))
 '(text-cursor ((t (:foreground "white" :background "Black"))))
 '(tooltip ((((class color)) (:background "yellow" :foreground "black" :weight 
bold))))
 '(widget-button ((t (:size "7" :bold t)))))

HTH,

Marc


reply via email to

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