all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: akochoi@shaw.ca, emacs-devel@gnu.org
Subject: Re: Setting font to Lucida Grande on Mac OS X
Date: Tue, 16 Sep 2003 12:54:03 +0900	[thread overview]
Message-ID: <87y8wpie1w.fsf@tleepslib.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <200309151509.h8FF95Z22652@raven.dms.auburn.edu> (Luc Teirlinck's message of "Mon, 15 Sep 2003 10:09:05 -0500 (CDT)")

>>>>> "Luc" == Luc Teirlinck <teirllm@dms.auburn.edu> writes:

    Luc> Maybe `-*-Lucida Grande-*-120-*' really is unmatched (I can
    Luc> not check), but look at the example below.

I believe this is probably a bug in the relevant Xlib or server
routines.  The problem is mostly like due to the fact that '*' can
match any number of characters, and does not respect field
boundaries.  Furthermore, the standard is not terribly specific about
how to deal with target font names which are themselves wildcards (ie,
scalable, with 0 for all dimensions.

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.

On '-abisource-courier-bold-i-normal--17-120-*-*-*-*-*' 
vs. '-abisource-courier-bold-i-normal--17-120-*-*-*-*-*-*':

    Luc> Why does the second line work and the first one not?  Does
    Luc> `*' not match `*-*' anyway?  It does for
    Luc> `-*-Courier-*-120-*'.

Experience shows that different implementations of X11 do different
things given the same set of fonts and the same specs.  So you may as
well just chalk it up to "implementation dependent, and therefore
potentially random, behavior".  Use the 14-hyphen XLFD.

-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.

  parent reply	other threads:[~2003-09-16  3:54 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 [this message]
2003-09-17  2:34       ` Luc Teirlinck
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y8wpie1w.fsf@tleepslib.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.