Skip to content

Instantly share code, notes, and snippets.

@mr-sudaca
Forked from tonyseek/Makefile
Created February 16, 2015 22:58
Show Gist options
  • Save mr-sudaca/e63ed622c230cfd46ed8 to your computer and use it in GitHub Desktop.
Save mr-sudaca/e63ed622c230cfd46ed8 to your computer and use it in GitHub Desktop.
monaco for powerline
PATCHED_FILENAME = "Monaco for Powerline.ttf"
$(PATCHED_FILENAME): Monaco.ttf fontpatcher.py fontpatcher-symbols.sfd
fontforge -script fontpatcher.py Monaco.ttf
@echo "(´・_・`) You can install the $(PATCHED_FILENAME) now."
Monaco.ttf: Monaco.dfont
fondu Monaco.dfont
rm *.bdf
Monaco.dfont:
cp /System/Library/Fonts/Monaco.dfont Monaco.dfont
fontpatcher-symbols.sfd:
git co f3ce37 -- fontpatcher-symbols.sfd
git reset fontpatcher-symbols.sfd
fontpatcher.py:
git co f3ce37 -- fontpatcher.py
git reset fontpatcher.py
  1. Clone the repository of powerline: git clone git@github.com:Lokaltog/powerline.git
  2. Put the Makefile into the powerline/font directory
  3. Run make
  4. Install the Monaco for Powerline.ttf and set it as non-ASCII font in your terminal such as iTerm2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment