by Touche · 12y ago · 0 comments
And I have no idea how to install a font. I download the zip and open it and there are 43 (43!) ttf files. I can install them by double clicking the file and selecting Install Font.
But then what? I now have 43 new fonts, but how do I know which one to use in my editor? Can someone explain this for a dummy?
edit: On OS X the directory is `~/Library/Fonts`.
In Emacs, put this in the .emacs file to set up the default font at startup.
(set-face-attribute 'default nil :family "Source Code Pro" :height 110)
In any case, usually when there are various ttf files for a single font, they all belong to a Font and then have variations (Medium, Medium Italic, Condensed, etc) Depending on the software, it maybe presented with 43 different fonts, or one single font, with variations (On mac, if you open Font Book, you get the font name, then you can expand to the variation, don't remember how it works on Windows)
set guifont=Source\ Code\ Pro\ for\ Powerline\ Medium\ 11