Skip to content
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

Airline line indicator symbol is empty / not found #100

Closed
alpertuna opened this issue Aug 24, 2016 · 10 comments
Closed

Airline line indicator symbol is empty / not found #100

alpertuna opened this issue Aug 24, 2016 · 10 comments

Comments

@alpertuna
Copy link

alpertuna commented Aug 24, 2016

environment

  • vim: 7.4
  • OS: Debian Jessie
  • terminal: XTerm
  • $TERM variable: screen-256color-italic
  • color configuration (:set t_Co?): 256
  • font: DejaVu Sans Mono for Powerline Nerd Font Complete Mono.ttf

Hello,
A square character is appeared near line indicator, and I found g:airline_symbols.maxlinenr keeps that char and I am able to correct it from .vimrc, but I wonder why its default value is look like square.
That character is '☰'
screenshot from 2016-08-24 16 17 34

@ryanoasis
Copy link
Owner

ryanoasis commented Aug 25, 2016

@alpertuna
Copy link
Author

alpertuna commented Aug 25, 2016

@ryanoasis
I tried it but still the same. I looked #92, there is no problem like that, I can see that icons with my font.
The problem is about just this char I saw.
I inspected the character and;

screenshot from 2016-08-25 10 37 05

Its hex code is 2630
And that character is empty in font map
screenshot from 2016-08-25 10 37 20-2

@ryanoasis
Copy link
Owner

Thanks for the details. Looks like the characters in range 2630 through 2637 (trigrams) are missing even in the unpatched Nerd Fonts powerline source of DejaVu Sans

screenshot_2016-08-26_08-48-46

So it looks like these were missing from the source font Nerd Fonts patches. This is not a bug with Nerd Fonts itself however we could make an improvement to patch in these missing glyphs if detected 😄

@alpertuna
Copy link
Author

+1 😊

@ryanoasis ryanoasis modified the milestone: v0.9.0 Sep 2, 2016
@ryanoasis
Copy link
Owner

These are missing for some reason (along with many other glyphs that are in the Deja Vu Sans condensed).

I have not attempted to fix all of them (that would take way too long) but I did copy these trigrams from the appropriate condensed version to the mono versions for now.

I also updated Deja Vu fonts from version 2.33 to 2.37 (see deja vu changelog)

@alpertuna
Copy link
Author

Thanks 👍 I already use some alternative ways for missing glyps, so time is not problem 😊

@ryanoasis
Copy link
Owner

What are the alternative ways you are using if you don't mind me asking? Fontconfig?

@alpertuna
Copy link
Author

I use Xresources to set font, and I specified more than one font as fonts chain so that if a char is not defined, it searches next font family for that char.

@Finii
Copy link
Collaborator

Finii commented Feb 23, 2023

Now really fixed for all fonts via #1125

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a new issue, complete the issue template with all the details necessary to reproduce, and mention this issue as reference.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants