Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to change size of font?

12 views
Skip to first unread message

xiaopeng hu

unread,
Aug 7, 2008, 11:18:11 AM8/7/08
to help-gn...@gnu.org
I am using emacs in xp.
I choose new font size from option->set font/fontset and Save options,
but when next time I run emacs, font size changed back to default size.
 
How to change size of font?
thanks

Eli Zaretskii

unread,
Aug 8, 2008, 4:05:16 AM8/8/08
to help-gn...@gnu.org
> Date: Thu, 7 Aug 2008 23:18:11 +0800
> From: "xiaopeng hu" <huxiaop...@gmail.com>

>
> I choose new font size from option->set font/fontset and Save options,
> but when next time I run emacs, font size changed back to default size.
>
> How to change size of font?

You need to customize default-frame-alist in your ~/.emacs init file.
Here's an example from mine:

(add-to-list 'default-frame-alist
'(font . "-outline-Courier New-normal-r-normal-normal-15-112-96-96-c-90-iso8859-1"))

See the node "Creating Frames" in the Emacs manual for more
information about this.


0 new messages