unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: akochoi@shaw.ca, emacs-devel@gnu.org
Subject: Re: Setting font to Lucida Grande on Mac OS X
Date: Tue, 16 Sep 2003 21:34:17 -0500 (CDT)	[thread overview]
Message-ID: <200309170234.h8H2YH706063@raven.dms.auburn.edu> (raw)
In-Reply-To: <87y8wpie1w.fsf@tleepslib.sk.tsukuba.ac.jp> (stephen@xemacs.org)

Stephen J. Turnbull wrote:

   If you want to have a reasonably good expectation of getting a match,
   use a fully qualified XLFD.  xfontsel is a convenient way to produce
   these.  The technical definition is more complex, but you'll hardly
   ever go wrong if you think of "fully qualified XLFD" as "containing
   exactly 14 hyphens, and starting with a hyphen".

   Especially in a world where we (at least sometimes) ask Windows and
   Mac users to specify XLFDs for their fonts, I think this should be in
   the Emacs manual.

What about the following patch?  I could commit it if desired.
I also replaced the `eleven' in:

    Under X, each font has a long name which consists of eleven words or
    numbers, separated by dashes.

by `fourteen', because this seems like an obvious error.  An XLFD
contains fourteen fields, even though one of these is usually empty.

===File ~/cmdargs-diff======================================
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	Tue Sep 16 21:21:54 2003
***************
*** 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
! nicknames---@samp{9x15} 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,723 ----
  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---@samp{9x15} 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.  The wildcard
! character @samp{*} matches any sequence of characters (including none)
! and @samp{?} matches any single character.  (Theoretically, this
! includes dashes.  In practice however, this does not always work
! completely reliably and, depending on the implementation, some fonts
! may not be found unless you explicitly write @emph{all} required
! dashes.)  Here is an example, which happens to specify the font whose
! nickname is @samp{6x13}:
  
  @smallexample
  emacs -fn \
***************
*** 732,737 ****
--- 738,746 ----
  @dots{}-@var{pixels}-@var{height}-@var{horiz}-@var{vert}-@var{spacing}-@var{width}-@var{charset}
  @end smallexample
  
+ (In this, @var{charset} actually consists of two fields, separated by
+ a dash, see below.)
+ 
  @table @var
  @item maker
  This is the name of the font manufacturer.

Diff finished at Tue Sep 16 21:22:40
============================================================

  reply	other threads:[~2003-09-17  2:34 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-14 22:43 Setting font to Lucida Grande on Mac OS X Sancho Neves-Graca
2003-09-14 23:10 ` Luc Teirlinck
2003-09-15  5:55 ` Andrew Choi
2003-09-15 15:09   ` Luc Teirlinck
2003-09-16  1:19     ` Sancho Neves-Graca
2003-09-16  3:54     ` Stephen J. Turnbull
2003-09-17  2:34       ` Luc Teirlinck [this message]
2003-09-17 12:23         ` Stephen J. Turnbull
2003-09-17 12:49           ` Jason Rumney
2003-09-17 16:55             ` Luc Teirlinck
2003-09-18 15:14               ` Richard Stallman
2003-09-19 11:01               ` Stephen J. Turnbull
2003-09-19 14:34                 ` Luc Teirlinck
2003-09-19 15:11                   ` Luc Teirlinck
2003-09-20  7:50                   ` Richard Stallman
2003-09-20 12:04                     ` Luc Teirlinck
2003-09-20 13:06                     ` Luc Teirlinck
2003-09-19 15:34                 ` Luc Teirlinck
2003-09-19 22:53                   ` Luc Teirlinck
2003-09-20 21:27                     ` Richard Stallman
2003-09-21  1:13                       ` Luc Teirlinck
2003-09-20 21:26                   ` Richard Stallman
2003-09-22 10:36                     ` Stephen J. Turnbull
2003-09-22 18:23                       ` Luc Teirlinck
2003-09-22 22:57                         ` Luc Teirlinck
2003-09-22 23:08                           ` Luc Teirlinck
2003-09-20  3:30                 ` Luc Teirlinck
2003-09-18 11:05         ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2003-09-14 23:09 Sancho Neves-Graca
2003-09-14 23:51 ` Luc Teirlinck
2003-09-14 23:55 ` Luc Teirlinck
2003-09-15  4:10 ` Luc Teirlinck
2003-09-15  4:34   ` Luc Teirlinck
2003-09-15  4:47 ` Luc Teirlinck

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=200309170234.h8H2YH706063@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=akochoi@shaw.ca \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).