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

Add Kotlin icon #861

Closed
3 tasks done
ignamartinoli opened this issue Jul 8, 2022 · 8 comments
Closed
3 tasks done

Add Kotlin icon #861

ignamartinoli opened this issue Jul 8, 2022 · 8 comments

Comments

@ignamartinoli
Copy link
Contributor

  • I have searched the issues for my request and found nothing related and/or helpful
  • I have searched the FAQ for help
  • 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

@Finii
Copy link
Collaborator

Finii commented Jul 8, 2022

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*

@ignamartinoli
Copy link
Contributor Author

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

@Finii
Copy link
Collaborator

Finii commented Jul 8, 2022

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

image

@ignamartinoli
Copy link
Contributor Author

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

@Finii
Copy link
Collaborator

Finii commented Jul 8, 2022

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).

@ignamartinoli
Copy link
Contributor Author

Sounds good, thanks, I'll learn that workflow

@Finii Finii mentioned this issue Jul 8, 2022
2 tasks
@Finii
Copy link
Collaborator

Finii commented Jul 8, 2022

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 :-)

@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 Mar 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants