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

Installation unclear #4

Open
romgrk opened this issue Mar 15, 2021 · 7 comments
Open

Installation unclear #4

romgrk opened this issue Mar 15, 2021 · 7 comments

Comments

@romgrk
Copy link

romgrk commented Mar 15, 2021

Hi,

It's unclear how to install the icons. Could you add more details?

@p00f
Copy link

p00f commented Mar 15, 2021

there's a ttf in dist

@romgrk
Copy link
Author

romgrk commented Mar 15, 2021

Yep. But it's unusual. When we install any of the nerdfonts, they come as the font we want plus the patched icons, eg DejaVu Sans Nerd Font. This is a single nonicon.ttf, so should I just install it and be done? Because below is the result I get when I do that. Or should I change my terminal font to nonicon.ttf? But then I don't get the font I want... So yeah this is unusual. Are you using the same codepoints as the nerdfonts? Are you using other codepoints? How does it work to scale the icons for my text font?

Screenshot from 2021-03-15 10-01-17

Also nvim-nnonicons doesn't mention that it needs to be setup with lua require'nvim-nonicons' to work.

@p00f
Copy link

p00f commented Mar 15, 2021

I added nonicon as a fallback font in my terminal

@romgrk
Copy link
Author

romgrk commented Mar 15, 2021

That would be a nice information to have on the readme.

Any plans to make patched fonts? I don't think any of my terminals have fallback font support.

@ya2s
Copy link
Owner

ya2s commented Mar 16, 2021

Added to readme!
When it comes to preparing patch fonts, there is the issue of which font to prepare.
I don't have time to patch all the famous fonts. waiting for PR!
I would like to consider patch fonts if I have time.

@romgrk
Copy link
Author

romgrk commented Mar 16, 2021

Ok sure, you can probably re-use nerdfont's script. I'll wait for patched fonts then.

@meain
Copy link

meain commented Mar 16, 2021

Just had a related question. I have installed and set this in iTerm but I am guessing the codepoints(might not be the exact term) is not similar to what is being used in nerdfonts. For example, the rust icon is not available at the same glyph location that it would be in nerd fonts. Was that something you have explicitly decided not to do? If not, it would be better to keep them more or less same as that way a lot of tools like lsd that use nerd font can easily work with both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants