I am fairly new to emacs and recently started customising it following the emacs from scratch video series from system crafters. But I am stuck at the line to set the font.
First I thought maybe I haven't installed the font so I installed it using pacman. It installed it in "/usr/share/fonts/TTF/FiraCode-Retina".
Now how do I use this font in emacs?
(set-face-attribute 'default nil :font "?")
What do I put in the position of ?. I have tried putting the font name. Font name along with its absolute path. And some other variations. But everytime it just says font not found!
Thank you for your help.
...
Ok, that was a stupid mistake on my part.
I just used "Fira Code Retina" and it seems to work. Sorry for the trouble!