-
Notifications
You must be signed in to change notification settings - Fork 906
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
OSM icons for website to SVG #4799
base: master
Are you sure you want to change the base?
Conversation
af71a0f
to
9a700d8
Compare
Looks good to me. How sure are we that all OpenGraph consumers are going to cope with SVG icons? |
See #4793 (comment) What would you rather edit Some people want to edit the logo: https://community.openstreetmap.org/t/binary-numbers-on-osm-logo-could-be-changed-to-have-a-real-meaning/100498 |
copy+paste error in the issue description
I agree with Anton. These are source files, they should be created in a way that helps the developers/designers first and foremost. Performance is a secondary matter. If we need to change options or whatever with svgo then lets do it there, rather than making the source files harder to work with. Otherwise, it makes it harder for new developers to get started. A developer should be able to use common tools (e.g. Inkscape) to create a new icon, without having to hand-edit (using an undocumented process, btw) the file to get it ready for a PR. So again, it's more important that the tooling does whatever we need it to, rather than add constraints onto the developer/designer. |
Oops, fixed. I was indeed copy-pasting all of the PR descriptions as I split them off from the initial PR.
Yes indeed, I checked the history of the logo: So in more than 10 years, the logo has been created and modified once. The other 2 commits are renames. On the topic of using a tool like Problems:
I ran the
so with the default plugins enabled. I could not find any plugins in the list of plugins that would help us solve the above problems. Some example output of the terms SVG: My conclusion is that the Then the process to convert such a designer SVG file into a file ready for minimization, would be:
Then, I put the files in https://vecta.io/nano to minimize them, but they could also be processed by After that I auto-formatted (Jetbrains IDE) the minimized SVGs to make them nicer to read for humans with newlines and indent. |
It seems that Facebook does not like SVGs as opengraph images, so I will revert that one as well. |
5ab38c8
to
70cf693
Compare
whitespace Revert og:image tags Add original design OSM logo in assets/
70cf693
to
957d3f3
Compare
I assume the |
Part of #850
Split off from #4775
This pull request replaces PNG images for the OSM logo with their minimized SVG variants, to ensure screens with high pixel densities can display the OpenStreetMap website with beautiful graphics.
Email has not been changed because SVG support in e-mails is difficult (ref #4775 (comment)).