emacs - Change fonts

Table of Contents

How do I change Emacs’ default font size and font type?

  1. http://xahlee.info/emacs/emacs/emacs_list_and_set_font.html
  2. https://stackoverflow.com/questions/6026713/how-do-i-change-emacs-default-font-size-and-font-type

Option 1

  1. M-x customize-group
  2. Enter faces
  3. Click on “Basic Faces”
  4. Open / Expand “Default”
  5. Change the font name (like “Inconsolata”) and deselect “foundry”
  6. Click “Apply and save”

Option 2

This option is messing up the dired view though.

(set-frame-font "Open Sans 10" nil t)

or

(set-frame-font "Open Sans" nil t)

This one did not mess up the dired view.

(set-frame-font "DejaVu Sans Mono-10" nil t)

Links to this note