Achieved 9% size reduction (#127)

* 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

* Using larger arc to save space on QBs

* turned some CBs to QBs and used curve repeat instruction
This commit is contained in:
baybal
2018-01-31 01:35:59 +06:00
committed by Terence Eden
parent 42a8df75fa
commit ca58d2b6b5

View File

@@ -3,4 +3,4 @@ aria-label="Disqus" role="img"
viewBox="0 0 512 512"><rect
width="512" height="512"
rx="15%"
fill="#fff"/><path fill="#2e9fff" d="M254 416c-39 0-75-14-103-38l-68 9 26-65A161 161 0 0 1 254 96c88 0 159 71 159 160s-71 160-159 160zm-3-80c57 0 90-34 90-81 0-48-33-80-89-80h-61v161zm2-39h-18v-82h18c26 0 43 15 43 40 0 27-17 42-43 42z"/></svg>
fill="#fff"/><path fill="#2e9fff" d="M83 387l26-65a159 159 0 1 1 42 56zm168-52q90-6 90-81t-89-80h-61v161zm2-39h-18v-82h18q43 2 43 40t-43 42"/></svg>

Before

Width:  |  Height:  |  Size: 376 B

After

Width:  |  Height:  |  Size: 281 B