From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: jasonr@gnu.org, emacs-devel@gnu.org
Subject: Re: Setting font to Lucida Grande on Mac OS X
Date: Fri, 19 Sep 2003 22:30:27 -0500 (CDT) [thread overview]
Message-ID: <200309200330.h8K3URE29479@raven.dms.auburn.edu> (raw)
In-Reply-To: <87d6dx82kq.fsf@tleepslib.sk.tsukuba.ac.jp> (stephen@xemacs.org)
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
============================================================
next prev parent reply other threads:[~2003-09-20 3:30 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-14 22:43 Setting font to Lucida Grande on Mac OS X Sancho Neves-Graca
2003-09-14 23:10 ` Luc Teirlinck
2003-09-15 5:55 ` Andrew Choi
2003-09-15 15:09 ` Luc Teirlinck
2003-09-16 1:19 ` Sancho Neves-Graca
2003-09-16 3:54 ` Stephen J. Turnbull
2003-09-17 2:34 ` Luc Teirlinck
2003-09-17 12:23 ` Stephen J. Turnbull
2003-09-17 12:49 ` Jason Rumney
2003-09-17 16:55 ` Luc Teirlinck
2003-09-18 15:14 ` Richard Stallman
2003-09-19 11:01 ` Stephen J. Turnbull
2003-09-19 14:34 ` Luc Teirlinck
2003-09-19 15:11 ` Luc Teirlinck
2003-09-20 7:50 ` Richard Stallman
2003-09-20 12:04 ` Luc Teirlinck
2003-09-20 13:06 ` Luc Teirlinck
2003-09-19 15:34 ` Luc Teirlinck
2003-09-19 22:53 ` Luc Teirlinck
2003-09-20 21:27 ` Richard Stallman
2003-09-21 1:13 ` Luc Teirlinck
2003-09-20 21:26 ` Richard Stallman
2003-09-22 10:36 ` Stephen J. Turnbull
2003-09-22 18:23 ` Luc Teirlinck
2003-09-22 22:57 ` Luc Teirlinck
2003-09-22 23:08 ` Luc Teirlinck
2003-09-20 3:30 ` Luc Teirlinck [this message]
2003-09-18 11:05 ` Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2003-09-14 23:09 Sancho Neves-Graca
2003-09-14 23:51 ` Luc Teirlinck
2003-09-14 23:55 ` Luc Teirlinck
2003-09-15 4:10 ` Luc Teirlinck
2003-09-15 4:34 ` Luc Teirlinck
2003-09-15 4:47 ` Luc Teirlinck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200309200330.h8K3URE29479@raven.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
--cc=emacs-devel@gnu.org \
--cc=jasonr@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.