unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Marc Schwartz <marc_schwartz@comcast.net>
To: help-gnu-emacs@gnu.org
Subject: Re: recommended font for emacs xft
Date: Wed, 15 Aug 2007 10:28:20 -0500	[thread overview]
Message-ID: <m3hcn07r6z.fsf@Bellerophon.localdomain> (raw)
In-Reply-To: 87ps1og76z.fsf@pu100877.student.princeton.edu

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	other threads:[~2007-08-15 15:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-15 13:29 recommended font for emacs xft Tamas Papp
2007-08-15 14:54 ` Marc Schwartz
2007-08-15 15:15   ` Tamas Papp
2007-08-15 15:28     ` Marc Schwartz [this message]
2007-08-15 16:13 ` Peter Dyballa
2007-08-15 16:14 ` Hadron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3hcn07r6z.fsf@Bellerophon.localdomain \
    --to=marc_schwartz@comcast.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).