brew install fontforgebrew install fondu- Clone the repository of powerline:
git clone [email protected]:Lokaltog/powerline.git - Download the above
Makefile(and make sure it'sMakefile, not e.g.Makefile.txt) cp Makefile powerline/fontcd powerline/font- Run
make fontforge -script [...]might fail; it seems to do enough to produce a workingMonaco for Powerline.ttf, though- Install (locate in Finder, double-click and then 'Install') the
Monaco for Powerline.ttfand set it as non-ASCII font in your terminal such as iTerm2, or as the font in Terminal.app
-
-
Save spthm/53de50e3bc4aed989149347eaa18345e to your computer and use it in GitHub Desktop.
monaco for powerline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 checkout f3ce37 -- fontpatcher-symbols.sfd | |
| git reset fontpatcher-symbols.sfd | |
| fontpatcher.py: | |
| git checkout f3ce37 -- fontpatcher.py | |
| git reset fontpatcher.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment