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: Fri, 19 Sep 2003 22:30:27 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200309200330.h8K3URE29479@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> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1064028955 6172 80.91.224.253 (20 Sep 2003 03:35:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 20 Sep 2003 03:35:55 +0000 (UTC) Cc: jasonr@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Sep 20 05:35:53 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 1A0YXJ-000288-00 for ; Sat, 20 Sep 2003 05:35:53 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A0Yc2-0007EH-00 for ; Sat, 20 Sep 2003 05:40:46 +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 1A0YWL-0001lI-2g for emacs-devel@quimby.gnus.org; Fri, 19 Sep 2003 23:34:53 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A0YVc-0001OR-Fc for emacs-devel@gnu.org; Fri, 19 Sep 2003 23:34:08 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A0YVZ-0001Mc-QO for emacs-devel@gnu.org; Fri, 19 Sep 2003 23:34:06 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0YVW-0001Hj-IT; Fri, 19 Sep 2003 23:34:02 -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 h8K3XlAJ006305; Fri, 19 Sep 2003 22:33:47 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id h8K3URE29479; Fri, 19 Sep 2003 22:30:27 -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: <87d6dx82kq.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:16502 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16502 I am afraid that my previous patch may have contained claims that are only valid for my own screen resolution. (I do not believe that the default XLFD really automatically yields a font that is seven pixels wide and twelve pixels high, as claimed in my previous patch, in all setups.) I include a new patch that also contains the paragraph I mentioned before, but I could, of course, take it back out if it would be considered unnecessary. ===File ~/cmdargs-diff-5==================================== 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 Fri Sep 19 22:10:01 2003 *************** *** 691,699 **** @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}). --- 691,698 ---- @appendixsec Font Specification Options @cindex font name (X Window System) ! By default, Emacs displays text in a twelve point Courier font. 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}). *************** *** 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 often inaccurate, when wildcards match ! dashes in a long name. 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 \ *************** *** 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 Fri Sep 19 22:10:46 ============================================================