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 10:34:04 -0500 (CDT)

Corrected patch (my previous one mistakenly suggested that wildcards
are not allowed in font nicknames):


===File ~/cmdargs-diff-4====================================
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 10:23:15 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.
! You can use wildcard patterns for the font name; 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 in a long name.  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 10:25:31
============================================================




reply via email to

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