Hello, I have just recently installed emacs with doom, and was playing around with the config because I didn't like the default font. I found where to change the font, but for some reason whenever I do SPC-h-r-f to reload the font, I get an error: set-face-attribute: Font not available: #<font-spec nil nil JetBrains\ Mono\ nil nil nil nil nil 24 nil nil nil nil>

and the code to set the font is:

(setq doom-font (font-spec :family "JetBrains Mono NF" :size 24)

doom-variable-pitch-font (font-spec :family "Monospace" :size 22))

Could anyone please tell me how to fix this?

Thanks!

submitted by /u/DroagonDog
[link] [comments]