Hyper: Airline/Powerline Vim font not working

Created on 17 Jul 2016  路  12Comments  路  Source: vercel/hyper

The patched Meslo font doesn't load even after specifying it in the config.

image

Here's iTerm2 for reference:

screen shot 2016-07-16 at 7 47 28 pm

As an aside, there also seems to be a rendering issue with the vertical columns at 80px and 120px.

Most helpful comment

Adding this to my ~/.zshrc fixed the issue:

export LANG="en_US.UTF-8"
export LC_COLLATE="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
export LC_MESSAGES="en_US.UTF-8"
export LC_MONETARY="en_US.UTF-8"
export LC_NUMERIC="en_US.UTF-8"
export LC_TIME="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"

All 12 comments

I tried your config and I have the same issue. Which version are you on? I'm on version 0.5.0.

I'm using 0.5.0. What kind of font is yours? Also .otf?

Yes .otf. I just use whatever is here.

Different OS?

I'm on OS X El Capitan v10.11.5.

The fonts are stored in $HOME/Library/Fonts. Does hyperterm expect a different location?

@mhluska for me it turned out to be locale settings in fish.

This time I had symbols working in vim but not in my fish theme (agnoster), every time it comes down to the same things but always for getting one.

Adding this to my ~/.zshrc fixed the issue:

export LANG="en_US.UTF-8"
export LC_COLLATE="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
export LC_MESSAGES="en_US.UTF-8"
export LC_MONETARY="en_US.UTF-8"
export LC_NUMERIC="en_US.UTF-8"
export LC_TIME="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"

I still got the same issue event after I applied all these LANG variables as "en_US.UTF-8", here is a screenshot in Hyperterm:

screen shot 2016-09-19 at 2 35 29 pm

Here is in iTerm2:
screen shot 2016-09-19 at 2 36 02 pm

For me the solution was to edit .hyper.js not .hyperterm.js #2cents

@paxpacis Good spot, hadn't updated my comment since the hyperterm rename.

My problem is powerline in zsh prompt not working.
Just add some notes, for whatever reason, only "Meslo LG S for Powerline" works for me.
Melso LG M didn't work. Strange. No need to configure LANG variable. Just change from M to S works for me.

OS: macOS 10.12
hyper version:0.8.3
shell: zsh + oh my zsh

Was this page helpful?
0 / 5 - 0 ratings