From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marc Schwartz Newsgroups: gmane.emacs.help Subject: Re: recommended font for emacs xft Date: Wed, 15 Aug 2007 10:28:20 -0500 Message-ID: References: <87vebhgc3z.fsf@pu100877.student.princeton.edu> <87ps1og76z.fsf@pu100877.student.princeton.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187192525 23866 80.91.229.12 (15 Aug 2007 15:42:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2007 15:42:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 15 17:42:02 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ILL0U-0006Tj-AR for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Aug 2007 17:42:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILL0T-0004U7-Ge for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Aug 2007 11:42:01 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Wed, 15 Aug 2007 10:28:21 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:BJ8QegnrLOxNDHYVrWNhkTH4d6I= Original-Lines: 82 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 74.94.87.209 Original-X-Trace: sv3-WDHkFwajIJB/qRf6IYBC0Z9J+rzpOH43bXWdKSE/66xisPA7QenQKYSbbfxoreeyE90Zlyb/acTUF5f!ub2DyBGsN6ClYsHfuRkhEdUpp9Q3xntBpmFHpA/fRVT6oEHTrLdoN2QVIYCJei/P1yEJKy6QlSYx!ApAk3CAXYaF1tP3KAC/X Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.35 Original-Xref: shelby.stanford.edu gnu.emacs.help:150993 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46566 Archived-At: Tamas Papp writes: > Marc Schwartz writes: > >> Tamas Papp 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