Modify

Opened 7 years ago

Closed 7 years ago

#16159 closed enhancement (fixed)

[Patch] SVG versions of icons

Reported by: floscher Owned by: team
Priority: minor Milestone: 18.04
Component: Core Version:
Keywords: svg icons Cc:

Description

Here are some SVG files that are almost-identical to existing icons, but reconstructed as super-small SVGs (< 1 kiB).

This list is going to grow over time, I just wanted to already share some of them. If you want you can already merge the ones that are there, or you wait until there are more and merge in one go.

Attachments (18)

mergenodes.svg (258 bytes ) - added by floscher 7 years ago.
multipoly_create.svg (425 bytes ) - added by floscher 7 years ago.
OLmarker.svg (224 bytes ) - added by floscher 7 years ago.
mirror.svg (462 bytes ) - added by floscher 7 years ago.
Mf_multipolygon.svg (533 bytes ) - added by floscher 7 years ago.
Mf_multipolygon.2.svg (533 bytes ) - added by floscher 7 years ago.
Mf_multipolygon.3.svg (533 bytes ) - added by floscher 7 years ago.
addnode.svg (257 bytes ) - added by floscher 7 years ago.
joinareas.svg (537 bytes ) - added by floscher 7 years ago.
joinareas.2.svg (578 bytes ) - added by floscher 7 years ago.
Disappearing nodes are now lighter
joinareas.3.svg (580 bytes ) - added by floscher 7 years ago.
Corrected typo in previous version
way-select.svg (384 bytes ) - added by floscher 7 years ago.
viewport-follow.svg (354 bytes ) - added by floscher 7 years ago.
unselectall.svg (333 bytes ) - added by floscher 7 years ago.
unjoinnodeway.svg (258 bytes ) - added by floscher 7 years ago.
ortho.svg (425 bytes ) - added by floscher 7 years ago.
followline.svg (446 bytes ) - added by floscher 7 years ago.
selectall.svg (333 bytes ) - added by floscher 7 years ago.

Download all attachments as: .zip

Change History (35)

by floscher, 7 years ago

Attachment: mergenodes.svg added

by floscher, 7 years ago

Attachment: multipoly_create.svg added

by floscher, 7 years ago

Attachment: OLmarker.svg added

by floscher, 7 years ago

Attachment: mirror.svg added

comment:1 by floscher, 7 years ago

The first batch (before on the left, after on the right side):
https://josm.openstreetmap.de/export/13595/josm/trunk/images/mergenodes.png
https://josm.openstreetmap.de/export/13595/josm/trunk/images/mirror.png
https://josm.openstreetmap.de/export/13595/josm/trunk/images/multipoly_create.svg (area no longer transparent, but in a lighter shade)
https://josm.openstreetmap.de/export/13595/josm/trunk/images/OLmarker.png (the inside of the circle on the marker is now see-through instead of fully black)

by floscher, 7 years ago

Attachment: Mf_multipolygon.svg added

by floscher, 7 years ago

Attachment: Mf_multipolygon.2.svg added

by floscher, 7 years ago

Attachment: Mf_multipolygon.3.svg added

comment:2 by floscher, 7 years ago

(oops, I accidentally uploaded the same file three times)

https://josm.openstreetmap.de/export/13595/josm/trunk/images/Mf_multipolygon.svg
This one changed quite a bit. I colored it like a relation, not like a way, because a multipolygon is a relation. Also the inner nodes are now also showing up as small dots.

by floscher, 7 years ago

Attachment: addnode.svg added

by floscher, 7 years ago

Attachment: joinareas.svg added

comment:3 by floscher, 7 years ago

https://josm.openstreetmap.de/export/13595/josm/trunk/images/addnode.png
https://josm.openstreetmap.de/export/13595/josm/trunk/images/joinareas.png (paint lines in black instead of blue, make the parts that will disappear when joining a bit lighter)

comment:4 by stoecker, 7 years ago

Lighter color for disappearing parts: That would include the two inner nodes 😁

by floscher, 7 years ago

Attachment: joinareas.2.svg added

Disappearing nodes are now lighter

comment:5 by floscher, 7 years ago

That's true indeed, here you are 😉
Disappearing nodes are now lighter

by floscher, 7 years ago

Attachment: joinareas.3.svg added

Corrected typo in previous version

by floscher, 7 years ago

Attachment: way-select.svg added

by floscher, 7 years ago

Attachment: viewport-follow.svg added

by floscher, 7 years ago

Attachment: unselectall.svg added

by floscher, 7 years ago

Attachment: unjoinnodeway.svg added

by floscher, 7 years ago

Attachment: ortho.svg added

by floscher, 7 years ago

Attachment: followline.svg added

comment:6 by floscher, 7 years ago

https://josm.openstreetmap.de/export/13595/josm/trunk/images/followline.svg
https://josm.openstreetmap.de/export/13595/josm/trunk/images/joinareas.png Corrected typo in previous version
https://josm.openstreetmap.de/export/13595/josm/trunk/images/ortho.png
https://josm.openstreetmap.de/export/13595/josm/trunk/images/unjoinnodeway.png
https://josm.openstreetmap.de/export/13595/josm/trunk/images/unselectall.png
https://josm.openstreetmap.de/export/13595/josm/trunk/images/viewport-follow.png
https://josm.openstreetmap.de/export/13595/josm/trunk/images/way-select.png

OK, so I think this will be enough for the moment… 😉

comment:7 by floscher, 7 years ago

Summary: [Patch] WIP: SVG versions of icons[Patch] SVG versions of icons

by floscher, 7 years ago

Attachment: selectall.svg added

comment:8 by floscher, 7 years ago

https://josm.openstreetmap.de/export/13595/josm/trunk/images/selectall.png

in reply to:  6 ; comment:9 by stoecker, 7 years ago

OK, so I think this will be enough for the moment… 😉

Nonono, when you have a flow keep going... 😇

There are so many missing or in png.

in reply to:  9 comment:10 by floscher, 7 years ago

Replying to stoecker:

OK, so I think this will be enough for the moment… 😉

Nonono, when you have a flow keep going... 😇

There are so many missing or in png.

I'll continue for sure, but for the moment there are also other areas I want to focus on…

comment:11 by stoecker, 7 years ago

In 13596/josm:

new SVG images made by floscher, see #16159

comment:12 by stoecker, 7 years ago

Regarding size: Please note that before release icons are stripped. So every prior cleanup beside geometric/logic changes has no effect.

comment:13 by Klumbumbus, 7 years ago

(see also #15240)

in reply to:  12 comment:14 by floscher, 7 years ago

Replying to stoecker:

Regarding size: Please note that before release icons are stripped. So every prior cleanup beside geometric/logic changes has no effect.

Yes, I know. The SVG ones were also changed structurally and with small appearance tweaks (color, pixel alignment). In the end they are now about 20% smaller than they were before (even with the stripping process in mind).
And since I'm not stripping them down manually but building these from scratch in a text editor (only checking with Inkscape how they look), it's not that hard to keep the size small.

comment:15 by stoecker, 7 years ago

Oh, I'm not the only one who does that. 😃
I even wrote PostScript by hand, but that is brain-damaging. SVG is better.

comment:16 by Don-vip, 7 years ago

Waw, this is really great to have such tiny SVG files! Thank you! :)

comment:17 by Don-vip, 7 years ago

Milestone: 18.04
Resolution: fixed
Status: newclosed

Again, thanks for these icons :) If you find time to create new ones, you can either create a new ticket of attach them to #15240

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.