From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Setting font to Lucida Grande on Mac OS X Date: Tue, 16 Sep 2003 21:34:17 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200309170234.h8H2YH706063@raven.dms.auburn.edu> References: <200309151509.h8FF95Z22652@raven.dms.auburn.edu> <87y8wpie1w.fsf@tleepslib.sk.tsukuba.ac.jp> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1063766446 26802 80.91.224.253 (17 Sep 2003 02:40:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Sep 2003 02:40:46 +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 04:40:42 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 19zSFG-00039g-00 for ; Wed, 17 Sep 2003 04:40:42 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 19zSIc-0003hn-00 for ; Wed, 17 Sep 2003 04:44:10 +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 19zSCZ-0003CK-KW for emacs-devel@quimby.gnus.org; Tue, 16 Sep 2003 22:37:55 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19zSCI-0003C6-Ss for emacs-devel@gnu.org; Tue, 16 Sep 2003 22:37:38 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19zSCH-0003Bo-A7 for emacs-devel@gnu.org; Tue, 16 Sep 2003 22:37:37 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.22) id 19zSCG-0003BD-Nx for emacs-devel@gnu.org; Tue, 16 Sep 2003 22:37:36 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.9/8.12.9) with ESMTP id h8H2bUeQ027244; Tue, 16 Sep 2003 21:37:30 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id h8H2YH706063; Tue, 16 Sep 2003 21:34:17 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: stephen@xemacs.org In-reply-to: <87y8wpie1w.fsf@tleepslib.sk.tsukuba.ac.jp> (stephen@xemacs.org) 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:16431 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16431 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 ============================================================