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
@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
Copy link
Copy Markdown

demure commented Nov 1, 2012

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
Copy link
Copy Markdown

root42 commented Apr 16, 2013

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
Copy link
Copy Markdown

verma commented Jul 23, 2013

Works great for me, thanks for this!

@cscheid
Copy link
Copy Markdown

cscheid commented Aug 9, 2013

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
Copy link
Copy Markdown

lxyu commented Nov 3, 2013

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
Copy link
Copy Markdown

rogual commented Apr 8, 2015

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
Copy link
Copy Markdown

im-n1 commented Dec 15, 2015

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

@metal3d
Copy link
Copy Markdown

metal3d commented Feb 19, 2016

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