Restoring original geometry after size normalisation (#126)

* Use arcs to save space on path arcs and be more true to original geometry

* Use single path for equal width rectangles

* Deleted unneeded commas

* reduce path count by using stroke linecap

* use single path instead of 4 rects, use fill rule to forego entering M for every rect

* Using arcs

* Fix typos

* Changed side for OSI icon

* Changed size for windows logo

* Changed size for ghost logo

* Shrunk digidentity to two paths. Some times an arc is cheaper on bytes than a circle element

* Concatenated paths

* RSS icon shrunk to a single path of 4 arcs

* An incomparably more geometrically correct version that is just few bytes longer and GZIP friendly

* Forgot aria label

* Restoring geometric accuracy

* Restoring geometric accuracy
This commit is contained in:
baybal
2018-01-31 01:36:47 +06:00
committed by Terence Eden
parent ca58d2b6b5
commit bfd5b52959

View File

@@ -3,4 +3,4 @@ aria-label="Twitter" role="img"
viewBox="0 0 512 512"><rect viewBox="0 0 512 512"><rect
width="512" height="512" width="512" height="512"
rx="15%" rx="15%"
fill="#1da1f3"/><path fill="#fff" d="M437 152c-12 6-26 10-40 12 15-9 26-23 32-40-14 8-29 14-45 17a72 72 0 0 0-122 65c-56-3-110-29-145-74a68 68 0 0 0 22 94c-11 0-22-2-32-7 1 33 24 62 56 69-10 3-21 3-32 1 10 29 37 49 67 50-29 24-68 35-105 29a199 199 0 0 0 309-179c14-10 26-22 35-37"/></svg> fill="#1da1f3"/><path fill="#fff" d="M437 152a72 72 0 0 1-40 12 72 72 0 0 0 32-40 72 72 0 0 1-45 17 72 72 0 0 0-122 65 200 200 0 0 1-145-74 72 72 0 0 0 22 94 72 72 0 0 1-32-7 72 72 0 0 0 56 69 72 72 0 0 1-32 1 72 72 0 0 0 67 50 200 200 0 0 1-105 29 200 200 0 0 0 309-179 200 200 0 0 0 35-37"/></svg>

Before

Width:  |  Height:  |  Size: 422 B

After

Width:  |  Height:  |  Size: 433 B