ErgoEmacsEmacsLispBlogEmacsLispBuy Tutorial
Web Hosting by 1&1

C.7 Font Specification Options

You can use the command line option ‘-fn font’ (or ‘--font’, which is an alias for ‘-fn’) to specify a default font:

-fn font
--font=font
Use font as the default font.

When passing a font specification to Emacs on the command line, you may need to “quote” it, by enclosing it in quotation marks, if it contains characters that the shell treats specially (⁖ spaces). For example:

     emacs -fn "DejaVu Sans Mono-12"

See Fonts, for other ways to specify the default font and font name formats.

blog comments powered by Disqus