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: Sat, 20 Sep 2003 20:13:43 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200309210113.h8L1DhI01541@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> <200309171655.h8HGtbl08972@raven.dms.auburn.edu> <87d6dx82kq.fsf@tleepslib.sk.tsukuba.ac.jp> <200309191534.h8JFY4Z25206@raven.dms.auburn.edu> <200309192253.h8JMrjh28774@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1064107196 14979 80.91.224.253 (21 Sep 2003 01:19:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 Sep 2003 01:19:56 +0000 (UTC) Cc: stephen@xemacs.org, emacs-devel@gnu.org, jasonr@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Sep 21 03:19:54 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 1A0stG-00072H-00 for ; Sun, 21 Sep 2003 03:19:54 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A0syO-0001V6-00 for ; Sun, 21 Sep 2003 03:25:12 +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 1A0sqh-0000tu-KL for emacs-devel@quimby.gnus.org; Sat, 20 Sep 2003 21:17:15 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A0sqd-0000tb-Nv for emacs-devel@gnu.org; Sat, 20 Sep 2003 21:17:11 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A0sqc-0000tP-0n for emacs-devel@gnu.org; Sat, 20 Sep 2003 21:17:10 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0sqZ-0000sT-UP; Sat, 20 Sep 2003 21:17:08 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id h8L1H6AJ007855; Sat, 20 Sep 2003 20:17:06 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id h8L1DhI01541; Sat, 20 Sep 2003 20:13:43 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Sat, 20 Sep 2003 17:27:13 -0400) 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:16521 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16521 Below is the latest patch with all current suggestions taken into account: ===File ~/cmdargs-diff-6==================================== 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 Sat Sep 20 19:58:07 2003 *************** *** 691,701 **** @appendixsec Font Specification Options @cindex font name (X Window System) ! By default, Emacs displays text in the font named @samp{9x15}, which ! makes each character nine pixels wide and fifteen pixels high. You can ! specify a different font on your command line through the option ! @samp{-fn @var{name}} (or @samp{--font}, which is an alias for ! @samp{-fn}). @table @samp @item -fn @var{name} --- 691,700 ---- @appendixsec Font Specification Options @cindex font name (X Window System) ! By default, Emacs displays text in a twelve point Courier font (when ! using X). You can specify a different font on your command line ! through the option @samp{-fn @var{name}} (or @samp{--font}, which is ! an alias for @samp{-fn}). @table @samp @item -fn @var{name} *************** *** 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 \ --- 705,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. For instance, @samp{9x15} is such a nickname. This font ! makes each character nine pixels wide and fifteen pixels high. You ! can use either kind of name. Case is insignificant in both kinds. ! 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 can be inaccurate when wildcards match ! dashes in a long name. For reliable results, supply all 14 dashes and ! use wildcards only within a field. Here is an example, which happens ! to specify the font whose nickname is @samp{6x13}: @smallexample emacs -fn \ *************** *** 725,735 **** emacs.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1 @end smallexample A long font name has the following form: @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 --- 731,753 ---- emacs.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1 @end smallexample + Note that if you use a wildcard pattern on the command line, you + need to enclose it in single or double quotes, to prevent the shell + from accidentally expanding it into a list of file names. On the + other hand, you should not quote the name in the @file{.Xdefaults} + file. + + The default font used by Emacs (under X) is: + + @smallexample + -adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1 + @end smallexample + A long font name has the following form: @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 --- 788,801 ---- (character cell). @item width This is the average character width, in pixels, multiplied by ten. ! @item registry ! @itemx encoding ! These together make up the X font character set that the font depicts. ! (X font character sets are not the same as Emacs charsets, but they ! are solutions for the same problem.) 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 Sat Sep 20 20:01:26 ============================================================