emacs-devel
[Top][All Lists]
Advanced

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

Re: Setting font to Lucida Grande on Mac OS X


From: Luc Teirlinck
Subject: Re: Setting font to Lucida Grande on Mac OS X
Date: Fri, 19 Sep 2003 09:34:39 -0500 (CDT)

The patch below incorporates the latest suggestions made by Richard
and Stephen.

It also includes some further changes.  

It points out that both font nicknames and XLFD's are
case-insensitive.  It also clarifies that wildcards can only be used
for XLFD's, not for nicknames.  (At least not in the situations we are
describing.  Certain Lisp functions _do_ allow wildcards in
nicknames.)

Also the sentence:

  By default, Emacs displays text in the font named @samp{9x15}, which
makes each character nine pixels wide and fifteen pixels high.

is obsolete since Emacs 21.

I listed:

-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1

as the default used by Emacs (under X), because that is the first font
tried by `x-create-frame' and in a fully uncustomized Emacs, that
choice does not seem to get overridden, at least not under X.  Emacs
does seem to use different defaults on other operating systems, so I
mentioned that the default only applies under X.

Any comments on this?


===File ~/cmdargs-diff-3====================================
cd ~/
diff -c /home/teirllm/cmdargs.old.texi /home/teirllm/cmdargs.texi
*** /home/teirllm/cmdargs.old.texi      Tue Sep 16 18:58:01 2003
--- /home/teirllm/cmdargs.texi  Fri Sep 19 08:58:52 2003
***************
*** 691,698 ****
  @appendixsec Font Specification Options
  @cindex font name (X Window System)
  
!   By default, Emacs displays text in the font named @samp{9x15}, which
! makes each character nine pixels wide and fifteen pixels high.  You can
  specify a different font on your command line through the option
  @samp{-fn @var{name}} (or @samp{--font}, which is an alias for
  @samp{-fn}).
--- 691,698 ----
  @appendixsec Font Specification Options
  @cindex font name (X Window System)
  
!   By default, Emacs displays text in a font which makes each character
! seven pixels wide and twelve pixels high.  ( See below.)  You can
  specify a different font on your command line through the option
  @samp{-fn @var{name}} (or @samp{--font}, which is an alias for
  @samp{-fn}).
***************
*** 706,717 ****
  Use font @var{name} as the default font.
  @end table
  
!   Under X, each font has a long name which consists of eleven words or
! numbers, separated by dashes.  Some fonts also have shorter
! address@hidden is such a nickname.  You can use either kind of
! name.  You can use wildcard patterns for the font name; then Emacs lets
! X choose one of the fonts that match the pattern.  Here is an example,
! which happens to specify the font whose nickname is @samp{6x13}:
  
  @smallexample
  emacs -fn \
--- 706,724 ----
  Use font @var{name} as the default font.
  @end table
  
!   Under X, each font has a long name which consists of fourteen words
! or numbers, separated by dashes.  Some fonts also have shorter
! nicknames.  For instance, @samp{9x15} is such a nickname.  This font
! makes each character nine pixels wide and fifteen pixels high.  You
! can use either kind of name.  Case is insignificant in both kinds.  In
! a long name, you can use wildcard patterns; then Emacs lets X choose
! one of the fonts that match the pattern.  The wildcard character
! @samp{*} matches any sequence of characters (including none) and
! @samp{?} matches any single character.  However, matching is
! implementation-dependent, and often inaccurate, when wildcards match
! dashes.  It works best if you supply all 14 dashes.  Here is an
! example, which happens to specify the font whose nickname is
! @samp{6x13}:
  
  @smallexample
  emacs -fn \
***************
*** 725,735 ****
  emacs.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1
  @end smallexample
  
    A long font name has the following form:
  
  @smallexample
  address@hidden@address@hidden@address@hidden@address@hidden
! @address@hidden@address@hidden@address@hidden@address@hidden
  @end smallexample
  
  @table @var
--- 732,748 ----
  emacs.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1
  @end smallexample
  
+   The default font used by Emacs (under X) is:
+ 
+ @smallexample
+ -adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1
+ @end smallexample
+ 
    A long font name has the following form:
  
  @smallexample
  address@hidden@address@hidden@address@hidden@address@hidden
! @address@hidden@address@hidden@address@hidden@address@hidden@var{encoding}
  @end smallexample
  
  @table @var
***************
*** 770,778 ****
  (character cell).
  @item width
  This is the average character width, in pixels, multiplied by ten.
! @item charset
! This is the character set that the font depicts.
! Normally you should use @samp{iso8859-1}.
  @end table
  
  @cindex listing system fonts
--- 783,796 ----
  (character cell).
  @item width
  This is the average character width, in pixels, multiplied by ten.
! @item registry
! @itemx encoding
! These together make up the X font character set that the font depicts.
! (X font character sets are not the same as Emacs charsets, but they
! are solutions for the same problem.)  You can use the
! @command{xfontsel} program to check which choices you have.  However,
! normally you should use @samp{iso8859} for @var{registry} and @samp{1}
! for @var{encoding}.
  @end table
  
  @cindex listing system fonts

Diff finished at Fri Sep 19 09:02:24
============================================================




reply via email to

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