1 line
1.1 KiB
Plaintext
1 line
1.1 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>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 <code>SPC-h-r-f</code> to reload the font, I get an error: <code>set-face-attribute: Font not available: #<font-spec nil nil JetBrains\ Mono\ nil nil nil nil nil 24 nil nil nil nil></code></p> <p>and the code to set the font is:</p> <p><code>(setq doom-font (font-spec :family "JetBrains Mono NF" :size 24)</code></p> <p><code>doom-variable-pitch-font (font-spec :family "Monospace" :size 22))</code></p> <p>Could anyone please tell me how to fix this?</p> <p>Thanks!</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/DroagonDog"> /u/DroagonDog </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/q7dq0t/doom_font_not_available/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/q7dq0t/doom_font_not_available/">[comments]</a></span> |