From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Setting font to Lucida Grande on Mac OS X Date: Wed, 17 Sep 2003 21:23:20 +0900 Organization: The XEmacs Project Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87pthzfvt3.fsf@tleepslib.sk.tsukuba.ac.jp> References: <200309151509.h8FF95Z22652@raven.dms.auburn.edu> <87y8wpie1w.fsf@tleepslib.sk.tsukuba.ac.jp> <200309170234.h8H2YH706063@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063802024 30267 80.91.224.253 (17 Sep 2003 12:33:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Sep 2003 12:33:44 +0000 (UTC) Cc: akochoi@shaw.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Sep 17 14:33:41 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19zbV7-0005lP-00 for ; Wed, 17 Sep 2003 14:33:41 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 19zbYf-0000oa-00 for ; Wed, 17 Sep 2003 14:37:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19zbUu-0002At-Uq for emacs-devel@quimby.gnus.org; Wed, 17 Sep 2003 08:33:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19zbUQ-0002AS-Km for emacs-devel@gnu.org; Wed, 17 Sep 2003 08:32:58 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19zbUO-0002AC-VM for emacs-devel@gnu.org; Wed, 17 Sep 2003 08:32:57 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 19zbLP-0000wi-MU for emacs-devel@gnu.org; Wed, 17 Sep 2003 08:23:39 -0400 Original-Received: from [130.158.98.109] (helo=tleepslib.sk.tsukuba.ac.jp) by mx20.gnu.org with esmtp (Exim 4.22) id 19zbLI-0005Oi-TI for emacs-devel@gnu.org; Wed, 17 Sep 2003 08:23:33 -0400 Original-Received: from steve by tleepslib.sk.tsukuba.ac.jp with local (Exim 3.36 #1 (Debian)) id 19zbL6-0001qP-00; Wed, 17 Sep 2003 21:23:20 +0900 Original-To: Luc Teirlinck In-Reply-To: <200309170234.h8H2YH706063@raven.dms.auburn.edu> (Luc Teirlinck's message of "Tue, 16 Sep 2003 21:34:17 -0500 (CDT)") User-Agent: Gnus/5.1001 (Gnus v5.10.1) XEmacs/21.4 (Portable Code, linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16442 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16442 Looks good to me. A few comments. >>>>> "Luc" == Luc Teirlinck writes: Luc> I also replaced the `eleven' in: Luc> Under X, each font has a long name which consists of Luc> eleven words or numbers, separated by dashes. Luc> by `fourteen', because this seems like an obvious error. An Luc> XLFD contains fourteen fields, even though one of these is Luc> usually empty. That is certainly correct for X11Rn, for n >= 4. In ------------------------------------------------------------------------ ! 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}: ------------------------------------------------------------------------ I would change the last few lines to: ------------------------------------------------------------------------ and @samp{?} matches any single character. Wildcards may match dashes. However, matching is implementation-dependent, and often is 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}: ------------------------------------------------------------------------ In the following ------------------------------------------------------------------------ @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.) ------------------------------------------------------------------------ I have to question the use of the term "charset" which has a different meaning in Mule, which also historically typically used names (such as latin-iso8859-1) that are not valid XLFD registries. It is true that most Mule charsets correspond to an XLFD registry, but not all do. I would substitute "registry", which is a strange term to most people, but won't bring in the connotations of "charset." (Of course this use of "charset" is previous to your change. And that change should be made whether or not my suggestion about "registry" is accepted.) -- 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.