help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set default font for all frames


From: CHENG Gao
Subject: Re: Set default font for all frames
Date: Sat, 01 Aug 2009 15:12:36 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin)

*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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]