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: Wed, 17 Sep 2003 11:55:37 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200309171655.h8HGtbl08972@raven.dms.auburn.edu> References: <200309151509.h8FF95Z22652@raven.dms.auburn.edu> <87y8wpie1w.fsf@tleepslib.sk.tsukuba.ac.jp> <200309170234.h8H2YH706063@raven.dms.auburn.edu> <87pthzfvt3.fsf@tleepslib.sk.tsukuba.ac.jp> <3F68584E.7010900@gnu.org> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1063818238 2931 80.91.224.253 (17 Sep 2003 17:03:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Sep 2003 17:03:58 +0000 (UTC) Cc: stephen@xemacs.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Sep 17 19:03:52 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 19zfiZ-0000F4-00 for ; Wed, 17 Sep 2003 19:03:51 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 19zfmC-0007lS-00 for ; Wed, 17 Sep 2003 19:07:36 +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 19zfdt-0002s1-AI for emacs-devel@quimby.gnus.org; Wed, 17 Sep 2003 12:59:01 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19zfdp-0002rh-5h for emacs-devel@gnu.org; Wed, 17 Sep 2003 12:58:57 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19zfdn-0002rV-HV for emacs-devel@gnu.org; Wed, 17 Sep 2003 12:58:56 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.22) id 19zfdl-0002r2-Nw; Wed, 17 Sep 2003 12:58:53 -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 h8HGwoeQ002608; Wed, 17 Sep 2003 11:58:51 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id h8HGtbl08972; Wed, 17 Sep 2003 11:55:37 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: jasonr@gnu.org In-reply-to: <3F68584E.7010900@gnu.org> (message from Jason Rumney on Wed, 17 Sep 2003 13:49:18 +0100) 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:16447 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16447 What about the following patch, which incorporates the suggestions made by Stephen and Jason? It still refers at one point to the combined "registry-encoding" entity as a "character set", because I believe that will make more sense to most people than "registry" and "encoding", but I point out that it is not identical with MULE character sets. ===File ~/cmdargs-diff-2==================================== 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 Wed Sep 17 10:53:27 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,722 ---- 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. However, matching is ! implementation-dependent, and often 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}: @smallexample emacs -fn \ *************** *** 729,735 **** @smallexample -@var{maker}-@var{family}-@var{weight}-@var{slant}-@var{widthtype}-@var{style}@dots{} ! @dots{}-@var{pixels}-@var{height}-@var{horiz}-@var{vert}-@var{spacing}-@var{width}-@var{charset} @end smallexample @table @var --- 734,740 ---- @smallexample -@var{maker}-@var{family}-@var{weight}-@var{slant}-@var{widthtype}-@var{style}@dots{} ! @dots{}-@var{pixels}-@var{height}-@var{horiz}-@var{vert}-@var{spacing}-@var{width}-@var{registry}-@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 --- 775,787 ---- (character cell). @item width This is the average character width, in pixels, multiplied by ten. ! @item registry ! @itemx encoding ! These make up the character set that the font depicts. Note that this ! is different from MULE character sets. 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 Wed Sep 17 11:35:50 ============================================================