b-ryan / powerline-shell

A beautiful and useful prompt for your shell
MIT License
6.21k stars 747 forks source link

specials chars aren't supported OS X el capitan ? #239

Open alexmtch opened 8 years ago

alexmtch commented 8 years ago

Here's a capture of my terminal. I've downloaded the patched fonts and install them by running the bash script. But when i restart my terminal, the specials chars aren't show.

capture d ecran 2016-06-02 a 11 18 52
edelgado commented 8 years ago

Same here. Installed the patched fonts and everything. Still see the ? chars. I'm using iTerm2 2.1.4:

screenshot 2016-06-18 15 38 21

If I use the regular Terminal app, then characters show, but kinda overlapped:

screenshot 2016-06-18 15 37 29

So, no luck either way 😕

mischnic commented 8 years ago

Have you set the Non-Ascii-Font (or both) to be your patched Font?

bildschirmfoto 2016-06-19 um 12 41 12

edelgado commented 8 years ago

@mischnic that was exactly it! Thanks so much. I wasn't paying attention to the "Non-ASCII Font" section, but apparently, that's exactly the font that is used by the prompt special characters. Thanks much!

edelgado commented 8 years ago

I must say that the height of the fonts don't match perfectly even when using the same font, font type, font weight and font style. Oh well, maybe everyone's is a little bit off as well.

alexmtch commented 8 years ago

Yep i downloaded a kind of font wich permit me to use :)

dsowinski commented 8 years ago

Hello,

I've had the same issues as described above and the solution for me was to:

  1. Install patched fonts from: https://github.com/powerline/fonts
  2. Set the same patched font for both ASCII and non-ASCII chars in iTerm2 profile Text preferences and then match up the sizes (currently 12 for ASCII and 13 for non-ASCII) as keeping them the same makes an ugly prompt ;-)
  3. If you see mismatching colours in prompt, this is caused by transparency of the terminal, so you need to tick "Keep background colours opaque" in Window settings.

Additionally, for some reason adding to .profile did not work for me, so I had to put it in ~/.bash_profile

Hope this helps someone!

ndey96 commented 7 years ago

Using terminal in macOS Sierra I needed to switch my font to Inconsolata for Powerline and it was all good :)