Set Emacs faces based on available fonts
Emacs Lisp
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
ert-tests
.gitignore
.travis.yml
Makefile
README.markdown
dynamic-fonts.el

README.markdown

Build Status

Overview

Set Emacs faces based on available fonts.

Quickstart

(require 'dynamic-fonts)

(dynamic-fonts-setup)     ; finds "best" fonts and sets faces:
                          ; default, fixed-pitch, variable-pitch

Explanation

dynamic-fonts.el makes font configuration more portable between machines. When Emacs is starting up, dynamic-fonts chooses fonts for your basic faces based on which fonts are actually available on your system.

You may set a list of fonts in order of preference using customize.

See Also

  • M-x customize-group RET dynamic-fonts RET
  • M-x customize-group RET font-utils RET

Compatibility and Requirements

GNU Emacs version 24.4-devel     : yes, at the time of writing
GNU Emacs version 24.3           : yes
GNU Emacs version 23.3           : yes
GNU Emacs version 22.3 and lower : no

Requires font-utils.el