unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Charles Muller <acmuller@gol.com>
Subject: Re: Setting default fonts
Date: 13 Jun 2002 15:48:40 +0900	[thread overview]
Message-ID: <1023950921.1822.20.camel@localhost.localdomain> (raw)
In-Reply-To: <3D077D4E.F67D2235@nb.conexant.com>

On Thu, 2002-06-13 at 01:56, Chuck Siska wrote:
> chuck --
> 
> to see all the available fonts, first select a buffer into which
> you don't mind entering text (e.g., the *scratch* buffer).  now
> enter the following lisp expression in that buffer:
> 
> (insert (prin1-to-string (x-list-fonts "*")))
> 
> place the text cursor at the end of this lisp expression and type
> M-x eval-print-last-sexp.
> 
> you should see a parenthesized list like the following appear immediately
> after that lisp expression.  each entry, in double-qoutes, is a
> font description.  (note, i've shortened my output list, here,
> from my own 880 entries to just the two shown.
> 
> ("-*-Mini Pics Red Rock-normal-r-*-*-*-*-96-96-p-*-iso8859-1" "-*-Mini Pics Lil
> Vehicles-normal-r-*-*-*-*-96-96-p-*-iso8859-1")
> 
> now, i setup my initial font in emacs by executing the following
> lisp expressions when i'm running emacs on mswind.  These are
> executed automatically in my _emacs (or .emacs) file when emacs
> starts up, but you can execute them by hand if you wish.  note,
> that i've taken a liberty, here, of replacing some of the font
> description elements with a "*" wildcard, but you can just use
> one of the font descriptions directly.
> 
> ; set font to terminal, regular, 6 point.
> (setq cs-default-font "-*-Terminal-normal-r-*-*-8-60-*-*-c-*-*-oem-")
> 
> (progn
>   (setq initial-frame-alist
>         (append `((font . ,cs-default-font))
>                 initial-frame-alist))
>   (setq default-frame-alist
>         (append `((font . ,cs-default-font))
>                 default-frame-alist)))

Great!

Thanks!


Chuck

      reply	other threads:[~2002-06-13  6:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-12  5:52 A Few Small Questions Scott Goldstein
2002-06-12  9:18 ` Charles Muller
2002-06-12 11:31   ` Marco Baringer
2002-06-12 15:38     ` Setting default fonts Charles Muller
2002-06-12 16:56       ` Chuck Siska
2002-06-13  6:48         ` Charles Muller [this message]

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=1023950921.1822.20.camel@localhost.localdomain \
    --to=acmuller@gol.com \
    /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).