Install font for mac

broken image
broken image

In my case, I only wanted to tweak the OS X settings part of my global. I plan to use the font for a little while to see how I like it so I wanted to tweak the default font setting to use the Hack 2.0 font as the default font. The easiest way I found was to run M-x ns-popup-font-panel to bring up the OS X font picker, select the freshly installed Hack 2.0 font and then run M-x describe-font to pick out the correct name. With the font installed, I needed to find out what Emacs believes the name of the font to be.

broken image

Just click “Install Font” and you’re done. This brings up the Font Book application. Installing a new font in OS X is easy - unzip the downloaded file, then double-click on each ttf file that you just unzipped. To install the font on my Mac, I downloaded the TTF version of the font from the link above.

broken image

I started with installing it on Mac OS X as that’s the OS I use most for work and work - like activities. So of course I had to try it out in Emacs. The Hack 2.0 font got a lot of attention recently as a font specifically designed for use with source code.