Amelio Vazquez-Reina
Amelio Vazquez-Reina

Reputation: 96264

Font Families for Emacs

If I do M-x customize-face RET default I can adjust the default face (font) in Emacs.

There are several options, all of them explained in the documentation. Many of these options can be selected from a menu when you select/click on Value Menu, but not the Font Family.

How can I see a list of the fonts that I can use in Font Family in Emacs?

Upvotes: 15

Views: 11472

Answers (2)

JSON
JSON

Reputation: 4606

Type the following in the *scratch* buffer, and press C-j at the end of it:

(font-family-list)

You may need to expand the result to see all of them, by hitting enter on the ... at the end.

Upvotes: 25

dkim
dkim

Reputation: 3970

If you are using Emacs 23.1 or later on the X Window System, the following fc-list command can list font families available on your system for Emacs (or any application using fontconfig):

$ fc-list : family

Upvotes: 10

Related Questions