You are not logged in.

#1 2012-11-07 12:12:56

developej
Member
Registered: 2011-10-02
Posts: 68

[SOLVED] rxvt-unicode and Powerline patched fonts

Hey all,

I'm trying to make my zsh prompt look like this - https://gist.github.com/3712874

As it says, it requires patched font. I downloaded two of them - Inconsolata-dz for Powerline and Menlo for Powerline.

If in .Xresources I put Menlo as my font of choice, the prompt looks like in linked page - all characters are displayed properly.
If, however, I put Inconsolata as my font of coice, charcters will fail to show up and those rectangles will be shown. (as if those characters do not exist in that font)

Important thing to note is that BOTH fonts work fine in ViM (with Powerline plugin) - it shows characters which are displayed as rectangles in zsh prompt.

Any ideas?

Last edited by developej (2012-11-08 23:49:04)

Offline

#2 2012-11-07 15:44:26

Lokaltog
Member
From: Norway
Registered: 2009-12-04
Posts: 53
Website

Re: [SOLVED] rxvt-unicode and Powerline patched fonts

That sounds strange. Could you post the font settings from your Xresources for both the fonts? It could be that you use the wrong font name so it uses a non-patched Inconsolata.

Offline

#3 2012-11-07 16:37:52

developej
Member
Registered: 2011-10-02
Posts: 68

Re: [SOLVED] rxvt-unicode and Powerline patched fonts

! Font
!URxvt*font:					xft:Inconsolata-dz for Powerline:size=10
URxvt*font:					xft:Menlo for Powerline:regular:size=10

i also tried xft:Inconsolata-dz for Powerline:Medium:size=10 - didn't work. if i change the font size, it is changed in the terminal too, so unless terminal can interpret size even though i didn't get the font right, i don't think that's it.
i found inconsolata(non dz) for powerline, will try that one now

edit: non dz version doesn't work, same thing as with dz

Last edited by developej (2012-11-07 16:55:15)

Offline

#4 2012-11-08 16:12:50

developej
Member
Registered: 2011-10-02
Posts: 68

Re: [SOLVED] rxvt-unicode and Powerline patched fonts

I found another Powerline theme for zsh and it works with Inconsolata

It's this one: https://github.com/jeremyFreeAgent/oh-m … line-theme

edit: ok, I figured it out - it was not the powerline theme, it was the font size smile it doesn't work with 10

Last edited by developej (2012-11-08 23:48:08)

Offline

Board footer

Powered by FluxBB