all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: CHENG Gao <chenggao@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Set default font for all frames
Date: Sat, 01 Aug 2009 15:12:36 +0800	[thread overview]
Message-ID: <m2k51o80t7.fsf@cyberhut.org> (raw)
In-Reply-To: m1ljm48ahg.fsf@walnutbeach.com

*On Fri, 31 Jul 2009 23:43:39 -0400
* Also sprach Richard Hoskins <rich@Goodnight.local>:

> I have this in my init.el:
>
> (set-frame-font "Envy Code R-18")
>
> But when I make a new frame, Monoco is used.  How can I set a default
> font so that all new frames respect the setting?
>
> Using GNU Emacs 23.1.1 (i386-apple-darwin9.7.0, NS apple-appkit-949.46)
>
> Thank you.
>

I use (in my init.el):

,----
| (set-frame-font "-apple-STHeiti-medium-normal-normal-*-18-*-*-*-p-0-iso10646-1")
`----


You can do M-x set-frame-font and use TAB to get font list, and then
copy name of your favorite font and put into init.el.

HTH,


-- 
Nosce te ipsum





  parent reply	other threads:[~2009-08-01  7:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-01  3:43 Set default font for all frames Richard Hoskins
2009-08-01  6:38 ` Daniel Pittman
2009-08-01  7:12 ` CHENG Gao [this message]
2009-08-01  7:32 ` Peter Dyballa
     [not found] ` <mailman.3625.1249111939.2239.help-gnu-emacs@gnu.org>
2009-08-01 10:27   ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2k51o80t7.fsf@cyberhut.org \
    --to=chenggao@gmail.com \
    --cc=help-gnu-emacs@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.