-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add Neovim icon (fixes #1383) #1391
Add Neovim icon (fixes #1383) #1391
Conversation
11b96df
to
bc374ce
Compare
Thanks for the PR! To add a icon one just needs to throw the Manually one needs to
In the original issue you mentioned font-logos. There is a PR pending to add the neovim icon there. You correctly pointed out that the repo seems dead. So maybe we should wait a bit and see if we can get that going again. The messages seemed rather promising. |
I believe the font-logos neovim icon has a solid lift-side-bar thing, while here it is hollow (to reflect that it is blue instead of green, a guess). Taken from font-logos fork release |
The original black-and-white logo published by neovim themselves is like THIS logo, i.e. with a hollow left leg: https://github.com/neovim/neovim.github.io/blob/master/logos/neovim-logo-1color.svg |
That's interesting! Let's wait then if font-logos comes back to activity. It seems that the maintainer has not given access to other people. However, I think there may be an underlying question here: Should Nerd Fonts rely on upstream repos that (as you mentioned in that issue) appear to have no standalone use? As oppose to, I'd say, Material Design. Of course, that's just me thinking out loud, it's a questions for nerd fonts' maintainers to discuss. :) Just hoping to get Neovim icon soon :) |
Yes, that's the one I used (hollow left leg). |
I guess this paragraph in the contributing file, in a entry regarding new icons, should be enough. |
btw @Finii, tks for the interactions here! I really appreciate the care you have with nerd fonts and all the work |
You mean this line Line 1054 in 18ff974
It seems that U+E5AE is already included in that range. Is that so? |
Oh, I anticipated that already in 869d6f9, so there is nothing to do in font-patcher :-) |
[why] To avoid filename clashes between Seti and Custom we have all Custom files with a _nf suffix. This has not been documented. Signed-off-by: Fini Jastrow <[email protected]>
Signed-off-by: Fini Jastrow <[email protected]>
Signed-off-by: Fini Jastrow <[email protected]>
[why] After a new icon has been added to the core set we want to make that visible via a new version number. Signed-off-by: Fini Jastrow <[email protected]>
[why] We want the workflow to do this so that we have control over the fontforge version that is used. Signed-off-by: Fini Jastrow <[email protected]>
[why] If the svg file is renamed the icon list has to be updated :rolleyes: Signed-off-by: Fini Jastrow <[email protected]>
Thanks again for the PR. I hope the changes of the documentation is readable and helps a bit. Here you can see the workflow in action that crates the new original font: And here the automatic commits added after your PR: So the changes are now in the zip and the docker patcher. |
Nice changes to I'll try to patch Victor Mono by myself. If I don't succeed I'll ask for help. Thanks so much! |
@allcontributors please add @georgeguimaraes for code |
I've put up a pull request to add @georgeguimaraes! 🎉 |
Nearly forgot... I always struggle with the type; code seems not fitting, but all other are also not really good. I believe we used code before for this kind of contribution. |
@berlinx2104 Thanks for the feedback! I will try to improve the visibility. The completely filled symbol is already in Font Logos (see links above) which I expect will pull the PR that contains it soon and afterwards we update that here, so both variants will end up in the patched fonts. |
Well, it was designed to be displayed at a much bigger size. That is why icons come in different sizes, because rescaling usually is not good enough. Here I increased the gap and increased the 'stroke width' of the left leg. In that process I changed the angle of the middle-bar. If I do not change that the ascpect ratio changes, see image above. |
That looks way better (the 2nd version) |
Ok, I will push that, so that you (both) can try it out in real... |
Changes pushed via 27f6ea1 ZIP and docker ready. |
It is certainly more visible. I can clearly see the hollow leg on my terminal now. Thanks, @Finii |
Thanks, @Finii |
…icon-to-custom Add Neovim icon (fixes ryanoasis#1383)
Description
I decided to take a shot into implementing #1383. Not sure if this is it, or if I should run
bin/scripts/gotta-patch-em-all-font-patcher!.sh
and commit all the changes. Let me know if this is ok.Requirements / Checklist
What does this Pull Request (PR) do?
Adds the neovim icon as discussed in #1383
How should this be manually tested?
The generated
original-source.otf
now has the Neovim icon:Any background context you can provide?
What are the relevant tickets (if any)?
#1383
Screenshots (if appropriate or helpful)