Skip to content

Instantly share code, notes, and snippets.

@baopham
Last active January 19, 2026 09:49
Show Gist options
  • Select an option

  • Save baopham/1838072 to your computer and use it in GitHub Desktop.

Select an option

Save baopham/1838072 to your computer and use it in GitHub Desktop.
Patched font Monaco for OSX Vim-Powerline

UPDATE:

  • Jun 2, 2014: Remove all the old patched fonts and replace them with the new one.
    OSX Mavericks
    fontforge installed by homebrew with patch: Homebrew/legacy-homebrew#27221
@lilyball

Copy link
Copy Markdown

At 10pt with antialiasing turned off this font looks like complete crap compared to the built-in one.

@jfmercer

Copy link
Copy Markdown

For me, this font was almost identical to the system Monaco at 16pt with antialiasing on. The only differences were the symbols on Powerline in vim. I tested it on OS X Mountain Lion in iTerm 2 with term type set to xterm-256color.

@demure

demure commented Nov 1, 2012

Copy link
Copy Markdown

same issue as kballard, looked horrible.
OS X 10.8, iterm2, xterm-256color, etc

@jaywilliams

Copy link
Copy Markdown

The linux version looks better with antialiasing turned off, but still not as good as the original. However, with antialiasing enabled, I can't detect any difference, at least at 14pt.

@samuelmburu

Copy link
Copy Markdown

Great thanks for posting this, now Powerline is way more useful.

@root42

root42 commented Apr 16, 2013

Copy link
Copy Markdown

Tried the font, and I still don't get the triangle glyphs. What am I doing wrong?

@joe-stelmach

Copy link
Copy Markdown

Same here. Any thoughts?

@verma

verma commented Jul 23, 2013

Copy link
Copy Markdown

Works great for me, thanks for this!

@cscheid

cscheid commented Aug 9, 2013

Copy link
Copy Markdown

The latest update of oh-my-zsh breaks this for me on OS X 10.8.3. Has anyone been able to find a replacement?

@lxyu

lxyu commented Nov 3, 2013

Copy link
Copy Markdown

Both fonts don't work for me, but the linux version works however.

Link here: https://gist.github.com/epegzz/1634235

@quantonganh

Copy link
Copy Markdown
$ fontforge -script Monaco\ for\ Powerline.otf 
Copyright (c) 2000-2012 by George Williams.
 Executable based on sources from 14:57 GMT 31-Jul-2012-D.
 Library based on sources from 14:57 GMT 31-Jul-2012.
Monaco for Powerline.otf:1 Unexpected character  (14)

then the symbols are displayed as question marks, something like this: http://stackoverflow.com/questions/14392222/powerline-on-mac-os-x-not-working-as-expected

@gregolsen

Copy link
Copy Markdown

@lxyu same for me. Both fonts not functioning (as well as all patched fonts from https://github.com/Lokaltog/powerline-fonts).
But the one you've pointed out - works great. Thanks!

@rogual

rogual commented Apr 8, 2015

Copy link
Copy Markdown

Hey, I noticed this font isn't tagged as monospaced so it doesn't show up in apps that only offer monospaced fonts.

I made a patched version here: https://gist.github.com/rogual/6824790627960fc93077

I don't know much about fonts — just opened it in Robofont and changed that one setting. But, the resulting font file is much smaller, so I may have broken it.

@kanishkabo

Copy link
Copy Markdown

Great! works on iTerm 2

@im-n1

im-n1 commented Dec 15, 2015

Copy link
Copy Markdown

Can you guys please post your .Xresources files? Seems like it affects font misrendering a lot.

@metal3d

metal3d commented Feb 19, 2016

Copy link
Copy Markdown

Maybe you can remove the "OSX" in title, because it works in Linux too :) but nice and thanks for this font

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment