powerline / fonts

Patched fonts for Powerline users.
25.68k stars 3.19k forks source link

PowerlineSymbols and Konsole #314

Open DeMol-EE opened 5 years ago

DeMol-EE commented 5 years ago

I can't quite get the powerlinesymbols nor patched fonts to work on my manjaro box. So far, I've installed powerline and powerline-fonts through pacman, and installed the patched fonts by cloning this repo and running install.sh. I have the patched fonts (like meslo etc) show up, but the special symbols don't seem to work. When I select the PowerlineSymbols font in Konsole, I get the following:

image

Oddly enough, the glyphs do show up in the font manager:

image

For completeness, I have Konsole set to UTF-8 encoding and my locale is en_US.UTF-8. Selecting meslo in the font config shows renders the following (note how there are no arrows but the rest of powerline seems to be working):

image image

I've already restarted my machine and I've made sure that 50-enable-terminess-powerline.conf is in /home/rdmol/.config/fontconfig/conf.d. Does anyone have any idea what I am doing wrong? I've tried xfce4-terminal but the issue is the same there...

DeMol-EE commented 5 years ago

To update my own issue, I've found that adding

set encoding=utf-8

enables the symbols but only in vim, not in zsh.

I've checked my locales and have LANG set to en_US.UTF-8. I've also deleted KDE/plasma's config files that could cause trouble, as per the arch wiki, and I've enabled the line

export LANG=en_US.UTF-8

in my .zshrc just to be sure, but still the powerline symbols are not appearing in Konsole.

Szunti commented 5 years ago

The first screenshot looks right. PowerlineSymbols.otf only contains glyphs for the special powerline characters, normal letters are missing.

About missing arrows, you could write the arrow character to the console directly to check if it shows: echo $'\uE0B0' On the picture it looks like powerline doesn't even attempt to show the arrow, we don't see the missing glyph nor any space between the blocks where the arrow would be.

avimehenwal commented 5 years ago

I recently shifted to KDE Plasma and am having the same problem! Anybody nows how to troubleshoot this? Just want my terminal to colorful instead of boring

d4n3sh commented 4 years ago

On my arch box installing "aur/ttf-meslo" fixed it for me.

serosenstein commented 1 year ago

On my arch box installing "aur/ttf-meslo" fixed it for me.

3 years later but this just helped me. Thanks!