I have an issue setting fonts in
GNU Emacs 27.2 (build 1, x86_64-w64-mingw32) of 2021-03-26 which is under Windows 10. I set the font successfully, but when I reopen Emacs my setting is not respected and instead
NexusSansPro which is not my font of choice is used.
I intentionally set the font via Emacs'
Options->Set Default Font and
Opetions->Save Options menus to make sure I'm not making any lisp mistakes.
The relevant part which is store by Emacs in
(custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(default ((t (:family "JetBrains Mono Light" :foundry "outline" :slant normal :weight light :height 143 :width normal)))))
I'm new to Windows and never had the issue in Linux. Not sure if this a Windows specific probelem or not...