powerline / fonts

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

Source Code Pro misaligned arrow #228

Open Psykar opened 7 years ago

Psykar commented 7 years ago

~/.cache/pacaur/powerline-fonts-git  b49057  master ●  Renders as image

Looks like this changed when the font was renamed recently in #226

(ZSH, https://github.com/bhilburn/powerlevel9k theme with xfce4-terminal)

Psykar commented 7 years ago

(ZSH, https://github.com/bhilburn/powerlevel9k theme with xfce4-terminal)

On Wed, 19 Apr 2017 at 16:49 Anwar notifications@github.com wrote:

Can you name the shell and shell theme you're using? It seems you're using zsh with agnostic theme.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/powerline/fonts/issues/228#issuecomment-295125812, or mute the thread https://github.com/notifications/unsubscribe-auth/AAx7DZjJa1f4Yy_Y_add2t8VHdwxIeI0ks5rxa5hgaJpZM4NBDdp .

darrenhaken commented 7 years ago

@Psykar any fix for this? I am having the same issue

AnwarShah commented 7 years ago

@Psykar hi. Can you check this if it's working without misalignment? https://bintray.com/anwar/testing_repo/download_file?file_path=SourceCodeProForPowerline-Regular.otf

darrenhaken commented 7 years ago

@AnwarShah Here are the results of using the font.

The left-hand side is better but now slightly aligned too high (it's subtle). See Render:

lefthand_bar

The right-hand side has gaps between the segments when using the font. Rendered as:

rendered_powerline
Psykar commented 7 years ago

Mine is as above with the font from https://github.com/powerline/fonts/issues/228#issuecomment-296418603

For now I'm back to the fallback Fontconfig method which is working fine. http://powerline.readthedocs.io/en/master/installation/linux.html#fontconfig

darrenhaken commented 7 years ago

@AnwarShah any update on this?

DJTB commented 7 years ago

Same issue for me, only just noticed it with a fresh install of ubuntu (which leads me to presume I had an older version of the font on my previous install, which looked fine).

AnwarShah commented 7 years ago

It seems the last patch caused this issue which uses latest version of source code pro. I'll try again what can be done to remove this annoying thing. In the meantime I suggest to use substitution method using fontconfig (if possible).

AnwarShah commented 7 years ago

@darrenhaken @DJTB @Psykar would be please test with the PR? It should fix the issue. Maybe it'll be merged before you do. :)