powerline / powerline

Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.
https://powerline.readthedocs.org/en/latest/
Other
14.4k stars 1k forks source link

glyph does not work in xterm (arhclinux) #2263

Closed PowaBanga closed 2 months ago

PowaBanga commented 2 months ago

Hi everybody, xterm does not appear correctly in xterm for me on archlinux

pacman -Qs powerline             
local/awesome-terminal-fonts 1.1.0-5
    fonts/icons for powerlines
local/powerline 2.8.4-2
    Statuslines and prompts for several applications including vim, zsh, bash, tmux,
    IPython, Awesome, i3 and Qtile
local/powerline-fonts 2.8.4-2
    Patched fonts for powerline
cat .Xresources                                 
! Base16 Solarized Dark
! Scheme: Ethan Schoonover (http://ethanschoonover.com/solarized)
XTerm.vt100.locale: false
XTerm.vt100.utf8: true
XTerm*utf8: 1
XTerm.vt100.scrollBar: true
XTerm.vt100.scrollbar.width: 3 
XTerm.vt100.geometry: 96x28
XTerm*faceName: DejaVu Sans Mono 
XTerm.vt100.faceNameDoublesize : PowerlineSymbols
XTerm.vt100.facesize : 10
XTerm*faceSize: 10
XTerm*renderFont: true

#define base00 #353945
#define base01 #073642
#define base02 #586e75
#define base03 #657b83
#define base04 #839496
#define base05 #93a1a1
#define base06 #eee8d5
#define base07 #fdf6e3
#define base08 #dc322f
#define base09 #cb4b16
#define base0A #b58900
#define base0B #859900
#define base0C #2aa198
#define base0D #268bd2
#define base0E #6c71c4
#define base0F #d33682

*.foreground:   base05
#ifdef background_opacity
*.background:   [background_opacity]base00
#else
*.background:   base00
#endif
*.cursorColor:  base05

*.color0:       base00
*.color1:       base08
*.color2:       base0B
*.color3:       base0A
*.color4:       base0D
*.color5:       base0E
*.color6:       base0C
*.color7:       base05

*.color8:       base03
*.color9:       base09
*.color10:      base01
*.color11:      base02
*.color12:      base04
*.color13:      base06
*.color14:      base0F
*.color15:      base07
xrdb -merge ~/.Xresources && xterm -l
xterm: Selected font has no valid height for ISO-8859-1 encoding
xterm: Selected font has no valid width for ISO-8859-1 encoding

Does anybody can help me to fix this ?

PowaBanga commented 2 months ago

ok, fixed ! I had to install dejavu sans mono for powerline set it in .Xressoucres XTerm*faceName: DejaVu Sans Mono for Powerline and reboot my computer