Setting default fonts in Emacs

Posted on Dec 24, 2023

I recently announced .emacs bankruptcy (again) and I’ve enjoyed the process of building up my config from scratch.

A few things are tedious to google, like how to set the default font. Below is how to do that:

(add-to-list 'default-frame-alist '(font . "JetBrains Mono-12"))

# Another, slightly fancier method with use-package:
(use-package emacs
  :init (add-to-list 'default-frame-alist '(font . "JetBrains Mono-15")))

I’m also testing adoc/asciidoc for writing blog entries, mostly due to boredom.