From: Roland Roberts <roland@astrofoto.org>
Subject: Re: Setting default font
Date: 13 Nov 2002 14:17:15 -0500 [thread overview]
Message-ID: <m2bs4twa84.fsf@kuiper.rlent.pnet> (raw)
In-Reply-To: 3DD27087.7030902@hotmail.com
>>>>> "John" == John Smith <johns2326@hotmail.com> writes:
John> I am using emacs 21 under X-Windows, and the default font for text is
John> rather small.
One normally does this in .Xdefaults, like so
Emacs*font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
This particular font, which my system, results in 13-dot fontset
configuration. In addition, I have this fontset setup in my .emacs to
get 14-, 15-, and 24-dot fontsets.
(if (eq window-system 'x)
(progn
(create-fontset-from-fontset-spec
"-*-fixed-medium-r-normal-*-24-*-*-*-*-*-fontset-24pt,
chinese-gb2312:-*-medium-r-normal-*-24-*-gb2312*-*,
korean-ksc5601:-*-medium-r-normal-*-24-*-ksc5601*-*,
chinese-cns11643-1:-*-medium-r-normal-*-24-*-cns11643*-1,
chinese-cns11643-2:-*-medium-r-normal-*-24-*-cns11643*-2,
chinese-cns11643-3:-*-medium-r-normal-*-24-*-cns11643*-3,
chinese-cns11643-4:-*-medium-r-normal-*-24-*-cns11643*-4,
chinese-cns11643-5:-*-medium-r-normal-*-24-*-cns11643*-5,
chinese-cns11643-6:-*-medium-r-normal-*-24-*-cns11643*-6,
chinese-cns11643-7:-*-medium-r-normal-*-24-*-cns11643*-7" t)
(create-fontset-from-fontset-spec
"-*-fixed-bold-r-normal-*-24-*-*-*-*-*-fontset-24pt,
chinese-gb2312:-*-bold-r-normal-*-24-*-gb2312*-*,
korean-ksc5601:-*-bold-r-normal-*-24-*-ksc5601*-*,
chinese-cns11643-1:-*-bold-r-normal-*-24-*-cns11643*-1,
chinese-cns11643-2:-*-bold-r-normal-*-24-*-cns11643*-2,
chinese-cns11643-3:-*-bold-r-normal-*-24-*-cns11643*-3,
chinese-cns11643-4:-*-bold-r-normal-*-24-*-cns11643*-4,
chinese-cns11643-5:-*-bold-r-normal-*-24-*-cns11643*-5,
chinese-cns11643-6:-*-bold-r-normal-*-24-*-cns11643*-6,
chinese-cns11643-7:-*-bold-r-normal-*-24-*-cns11643*-7" t)
(create-fontset-from-fontset-spec
"-*-fixed-medium-r-normal-*-15-*-*-*-*-*-fontset-15pt,
chinese-gb2312:-*-medium-r-normal-*-15-*-gb2312*-*,
korean-ksc5601:-*-medium-r-normal-*-15-*-ksc5601*-*,
chinese-cns11643-1:-*-medium-r-normal-*-15-*-cns11643*-1,
chinese-cns11643-2:-*-medium-r-normal-*-15-*-cns11643*-2,
chinese-cns11643-3:-*-medium-r-normal-*-15-*-cns11643*-3,
chinese-cns11643-4:-*-medium-r-normal-*-15-*-cns11643*-4,
chinese-cns11643-5:-*-medium-r-normal-*-15-*-cns11643*-5,
chinese-cns11643-6:-*-medium-r-normal-*-15-*-cns11643*-6,
chinese-cns11643-7:-*-medium-r-normal-*-15-*-cns11643*-7" t)
(create-fontset-from-fontset-spec
"-*-fixed-bold-r-normal-*-15-*-*-*-*-*-fontset-15pt,
chinese-gb2312:-*-bold-r-normal-*-15-*-gb2312*-*,
korean-ksc5601:-*-bold-r-normal-*-15-*-ksc5601*-*,
chinese-cns11643-1:-*-bold-r-normal-*-15-*-cns11643*-1,
chinese-cns11643-2:-*-bold-r-normal-*-15-*-cns11643*-2,
chinese-cns11643-3:-*-bold-r-normal-*-15-*-cns11643*-3,
chinese-cns11643-4:-*-bold-r-normal-*-15-*-cns11643*-4,
chinese-cns11643-5:-*-bold-r-normal-*-15-*-cns11643*-5,
chinese-cns11643-6:-*-bold-r-normal-*-15-*-cns11643*-6,
chinese-cns11643-7:-*-bold-r-normal-*-15-*-cns11643*-7" t)
(create-fontset-from-fontset-spec
"-*-fixed-medium-r-normal-*-14-*-*-*-*-*-fontset-14pt,
chinese-gb2312:-*-medium-r-normal-*-14-*-gb2312*-*,
korean-ksc5601:-*-medium-r-normal-*-14-*-ksc5601*-*,
chinese-cns11643-1:-*-medium-r-normal-*-14-*-cns11643*-1,
chinese-cns11643-2:-*-medium-r-normal-*-14-*-cns11643*-2,
chinese-cns11643-3:-*-medium-r-normal-*-14-*-cns11643*-3,
chinese-cns11643-4:-*-medium-r-normal-*-14-*-cns11643*-4,
chinese-cns11643-5:-*-medium-r-normal-*-14-*-cns11643*-5,
chinese-cns11643-6:-*-medium-r-normal-*-14-*-cns11643*-6,
chinese-cns11643-7:-*-medium-r-normal-*-14-*-cns11643*-7" t)
(create-fontset-from-fontset-spec
"-*-fixed-bold-r-normal-*-14-*-*-*-*-*-fontset-14pt,
chinese-gb2312:-*-bold-r-normal-*-14-*-gb2312*-*,
korean-ksc5601:-*-bold-r-normal-*-14-*-ksc5601*-*,
chinese-cns11643-1:-*-bold-r-normal-*-14-*-cns11643*-1,
chinese-cns11643-2:-*-bold-r-normal-*-14-*-cns11643*-2,
chinese-cns11643-3:-*-bold-r-normal-*-14-*-cns11643*-3,
chinese-cns11643-4:-*-bold-r-normal-*-14-*-cns11643*-4,
chinese-cns11643-5:-*-bold-r-normal-*-14-*-cns11643*-5,
chinese-cns11643-6:-*-bold-r-normal-*-14-*-cns11643*-6,
chinese-cns11643-7:-*-bold-r-normal-*-14-*-cns11643*-7" t)
))
roland
--
PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD RL Enterprises
roland@rlenter.com 6818 Madeline Court
roland@astrofoto.org Brooklyn, NY 11220
next prev parent reply other threads:[~2002-11-13 19:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-13 15:32 Setting default font John Smith
2002-11-13 18:06 ` Michael Slass
2002-11-13 19:17 ` Roland Roberts [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-01-19 9:34 Juha Nieminen
2009-01-19 10:09 ` Katsumi Yamaoka
2009-01-19 11:46 ` Peter Dyballa
2009-01-19 16:18 ` Richard Riley
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2bs4twa84.fsf@kuiper.rlent.pnet \
--to=roland@astrofoto.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).