Subject: Re: Emacs 21.2 pkgsrc ready for testing
To: Wolfgang Rupprecht <wolfgang+gnus20020426T104834@wsrcc.com>
From: Greg A. Woods <woods@weird.com>
List: netbsd-users
Date: 04/26/2002 18:13:26
[ On , April 26, 2002 at 10:54:39 (-0700), Wolfgang Rupprecht wrote: ]
> Subject: Re: Emacs 21.2 pkgsrc ready for testing
>
> 
> Now to figure our why the fonts sizing is screwy.  Both my emacs and
> xterm (xfree86 4.2.0) have the same font selected, yet emacs appears
> to be a point or two smaller.  Emacs also has very little interline
> spacing which adds to the illusion even more.
> 
> Emacs*font:	-adobe-courier-medium-r-normal-*-*-120-*-*-*-*-iso8859-1
> XTerm*font:	-adobe-courier-medium-r-normal-*-*-120-*-*-*-*-iso8859-1
> 
> I wonder which program is messing up?

Are you sure you have the correct resolution fonts first in your font
path (or the font path of your font server)?

Here's what I have in my ~/.emacs.el:

;; The Bitstream Courier font is very clean but doesn't seem to have a matching
;; size italic (and has no oblique) font (at least not on some stock X11's).
;;
;;	"-bitstream-courier-medium-r-*-*-*-120-*-*-m-*-iso8859-1"
;;
;; This is the next best thing for a default X11 installation:
;;
;;	"-adobe-*-medium-r-normal--*-120-*-*-m-*-iso8859-1"
;;
;; A pxlsz of '0' would force the use of Type-1 fonts...  but since they don't
;; always have a proper back-tick, we're hosed and we must stay with this
;; slightly bigger and slightly uglier version (which still doesn't have proper
;; back-ticks for italic fonts).
;;
;; ... assuming it's X, that is!  ;-)
;;
;; Ideally you can install a custom font with all unique glyphs (and a
;; complete set of glhphs).
;;
;; This is What we're actually using.  It's one of the fonts from the GNU
;; intlfonts distribution.  These are by far the very best all-round
;; complete fonts I've ever seen.
;;
(if (eq window-system 'x)
    (setq preferred-frame-font
	  "-etl-fixed-medium-r-normal--16-*-*-*-c-*-iso8859-1"))

When I put an xterm using that font side-by-side with my emacs window
the lines are exactly the same height and the exact same distance
appart.

-- 
								Greg A. Woods

+1 416 218-0098;  <gwoods@acm.org>;  <g.a.woods@ieee.org>;  <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>