-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some unicode symbols still not displayed with urxvt or xterm #176
Comments
Hi, Have you tried it in GVIM or another term such as lxterminal? I've got the same problem with both Then I tried the same font on GVIM and I cannot figure out why till now. Waiting for help. |
All works well on MacVIM but GVIM under linux gives a similar behavior, so I suppose this is system oriented. |
With GVIM, you specific the font by The following thread gives informations that help to get urxvt works with powerline fonts. I got urxvt displays powerline symbols well now, but no luck with Awesome fonts, nerd-fonts. |
So I had this issue in urxvt and it took me a stupidly long time to find that (for me) this was caused by the characters being too closely spaced. I'm not sure that this solves the above problem, as gvim did always show the missing symbols, but hopefully helps anyone who has read through the issues and is still stuck with symbols not displaying. |
Even after trying to change the letterSpace instruction I still get the same problem... Any other hint? |
Same problem over here. I tried in Terminator however and it was fine except for some spacing issue. |
Ok, so, after digging around for a while I found out that the real issue (on some urxvt installs) is that on really lean builds not all options are actually compiled into urxvt. In other words see this: http://powerline.readthedocs.io/en/master/troubleshooting.html#urxvt-unicode3-and-frills |
For URxvt to show glyphs, you must use the single width variants (they end in |
Without those, only the single-width fitting glyphs will show |
(unless you up |
More info: https://github.com/powerman/wcwidth-icons |
I've tried adding |
Your .Xresources file has prefixes of the form: But echo $TERM suggests you're using another terminal: I'm running rxvt-unicode-256color and my prefixes are of the form: Just guessing here but I'm thinking XTerm works for xterm and URxvt works for rxvt-unicode-256color? |
|
Oh god finnaly i fixed it. All was because two things:
My config
So problem i see - we have to expand letter-space somehow or scale down symbols that too big. Or fing good non-mono font. Actually without monospace font big symbols scaling down, but p.s. I see urxvt-font-size packet in aur, maybe it might help |
I actually fixed the font problem by following doronbehar's fix posted here
None of the other fixes worked for me. |
I fixed it following solution from @Tymonrare. My .Xresource file before:
My .Xresource file after fix:
As you can see I only added Hope that helps someone! |
Woah, thanks @stevanmilic |
Recently dealt with this problem as a Fedora user and thought I'd chime in. I noted this bug report |
Based on @stevanmilic's solution, I added the following to my
This has very good Unicode symbol coverage, which you can see in this screenshot: |
This was the final solution. Thanks |
thanks, it work for me |
What's the browser you are using? |
@sdh0618 that looks like qutebrowser |
But still it won't display this box icon (📦), still searching for the perfect solution. UPDATEI can display 📦 as well as ⌚ and maybe any other emoji using Symbola font
|
- fonts with 'Mono' suffix are needed to fix glyphs display - see issue: powerline/fonts#176 (comment) - more info about 'Mono' variant: https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/Hack/readme.md
- fonts with 'Mono' suffix are needed to fix glyphs display - see issue: powerline/fonts#176 (comment) - more info about 'Mono' variant: https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/Hack/readme.md
- fonts with 'Mono' suffix are needed to fix glyphs display - see issue: powerline/fonts#176 (comment) - more info about 'Mono' variant: https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/Hack/readme.md
I've been having trouble viewing certain unicode symbols under urxvt or xterm. The font I'm using is
Source Code Pro for Powerline
which I installed through the powerline fonts repo. My.Xresources
contains the following:but I still get funky behavior like in the following circumstances
$TERM
outputsrxvt-unicode-256color
Running
urxvt --help 2>&1 | grep options:
returnsiso14755
,unicode3
, andfrills
among other things.I've also made sure that my locale and LANG are indeed set to en_US-UTF-8
Output of
locale -a
C
en_US.utf8
POSIX
So I'm unsure why I still can't see some of these unicode symbols because I have all my bases covered? This is happening system-wide as I can't see certain symbols in Firefox either, so I think it has to be a font issue.
The text was updated successfully, but these errors were encountered: