nerd-fonts icon indicating copy to clipboard operation
nerd-fonts copied to clipboard

Add Kotlin icon

Open ignamartinoli opened this issue 1 year ago • 7 comments

  • [X] I have searched the issues for my request and found nothing related and/or helpful
  • [X] I have searched the FAQ for help
  • [X] I have searched the Wiki for help

Is your feature request related to a problem? Please describe.

It would be nice to have a Kotlin icon

Describe the solution you'd like

The addition of a Kotlin icon

Describe alternatives you've considered

Cry

Additional context

This is the latest official Kotlin icon

kotlin

ignamartinoli avatar Jul 08 '22 07:07 ignamartinoli

Would it not make (more) sense to add these programming language icons to the devicons? https://github.com/vorillaz/devicons

Well, or rather https://github.com/file-icons/DevOpicons?

Otoh, they do not have Julia (why not?) and we add that ourselves. Strangeness.

Are you into Kotlin? What happened to the 2-colored icon? image

*opening svg editor*

Finii avatar Jul 08 '22 10:07 Finii

Would it not make (more) sense to add these programming language icons to the devicons? https://github.com/vorillaz/devicons

Well, or rather https://github.com/file-icons/DevOpicons?

I didn't knew those projects, I mainly look at nerd-fonts because iirc nvim-web-devicons and powerlevel10k both uses it.

Are you into Kotlin?

I like Android development and the language in general. It feels satisfying using it after being forced by university to write Java.

What happened to the 2-colored icon?

It got changed this year (https://kotlinlang.org/docs/kotlin-brand-assets.html#kotlin-logo). Actually, I like the two-colored icon a ton more, I didn't suggested using it to not sound opinionated, but using a single color feels like a regression to me

ignamartinoli avatar Jul 08 '22 11:07 ignamartinoli

Got that thing ready, but need time to create the PR...

image

Finii avatar Jul 08 '22 14:07 Finii

Thanks! What editor do you use for this? So the next time I can create the icon and directly do a PR?

ignamartinoli avatar Jul 08 '22 14:07 ignamartinoli

inkscape to create the icon as svg, fontforge to patch it in.

In fact I searched for kotlin logo svn, found the colored icon, took that into InkScape and ... redrew the icon with the color icon in the background. The color icon has been drawn with 'thick lines' anyhow, that is not supported in fonts. There everything must be a border that encloses something. Fill it with 'unspecified' (will look black in InkScape).

Finii avatar Jul 08 '22 15:07 Finii

Sounds good, thanks, I'll learn that workflow

ignamartinoli avatar Jul 08 '22 16:07 ignamartinoli

learn that workflow

Some hints can be found here https://github.com/simple-icons/simple-icons/blob/develop/CONTRIBUTING.md And some here https://github.com/file-icons/DevOpicons/blob/master/README.md And ... all over.

The most important thing as a beginner - imho - is that in fonts everything is an area surrounded by a closed stroke/border/edge (however that is called). Assume the lines you draw in inkscape to be invisible. Want a line? draw a very thin long box. All boxes will be filled. Two overlapping boxes will be not-filled in the intersection. Hmm. Maybe that does not make sense :-) (Not all valid svgs are suitable for fonts, some features like line-thickness are meaningless in fonts.) Whatever, you will see the result after importing into fontforge. There is View -> Show -> Preview in fontforge's Outline-View.

Good luck :-)

Finii avatar Jul 08 '22 17:07 Finii

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[bot] avatar Mar 12 '23 22:03 github-actions[bot]