emacs/var/elfeed/db/data/aa/aa58e0e410524f72848214025f978b09ee9a4448
2022-01-03 12:49:32 -06:00

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&#39;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: #&lt;font-spec nil nil JetBrains\ Mono\ nil nil nil nil nil 24 nil nil nil nil&gt;</code></p> <p>and the code to set the font is:</p> <p><code>(setq doom-font (font-spec :family &quot;JetBrains Mono NF&quot; :size 24)</code></p> <p><code>doom-variable-pitch-font (font-spec :family &quot;Monospace&quot; :size 22))</code></p> <p>Could anyone please tell me how to fix this?</p> <p>Thanks!</p> </div><!-- SC_ON --> &#32; submitted by &#32; <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> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/q7dq0t/doom_font_not_available/">[comments]</a></span>