How do I change emacs default font size and font type?

demonchand picture demonchand · May 17, 2011 · Viewed 65.6k times · Source

I am using emacs 23.3. I need to change the font size and font type, can anyone help me?

Answer

Dov Grobgeld picture Dov Grobgeld · May 18, 2011

You can also do the following in your .emacs file.

Emacs 23.1

(set-frame-font "Inconsolata 12" nil t)

Older versions of Emacs

(set-default-font "Inconsolata 12" nil t)