From 42a8df75fa4eee4d240c2775398136c989a34769 Mon Sep 17 00:00:00 2001 From: baybal Date: Wed, 31 Jan 2018 01:32:33 +0600 Subject: [PATCH 1/4] Fix to #109 (#125) * 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 arcs --- images/svg/digitalocean.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/svg/digitalocean.svg b/images/svg/digitalocean.svg index 4662e4e1..44b1cf4f 100644 --- a/images/svg/digitalocean.svg +++ b/images/svg/digitalocean.svg @@ -3,4 +3,4 @@ aria-label="DigitalOcean" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#fff"/> \ No newline at end of file From ca58d2b6b5b8fc8307ec10c21dab257e7786a4af Mon Sep 17 00:00:00 2001 From: baybal Date: Wed, 31 Jan 2018 01:35:59 +0600 Subject: [PATCH 2/4] 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 --- images/svg/disqus.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/svg/disqus.svg b/images/svg/disqus.svg index 211ea96f..886b9055 100644 --- a/images/svg/disqus.svg +++ b/images/svg/disqus.svg @@ -3,4 +3,4 @@ aria-label="Disqus" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#fff"/> \ No newline at end of file From bfd5b5295989cc9b599b5374f8be44bb9a989c4e Mon Sep 17 00:00:00 2001 From: baybal Date: Wed, 31 Jan 2018 01:36:47 +0600 Subject: [PATCH 3/4] 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 --- images/svg/twitter.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/svg/twitter.svg b/images/svg/twitter.svg index 399581eb..b74de479 100644 --- a/images/svg/twitter.svg +++ b/images/svg/twitter.svg @@ -3,4 +3,4 @@ aria-label="Twitter" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#1da1f3"/> \ No newline at end of file From 1d9ba29982fe8fe968cc76d815d483670be5d031 Mon Sep 17 00:00:00 2001 From: edent Date: Tue, 30 Jan 2018 19:38:26 +0000 Subject: [PATCH 4/4] Updated file sizes * Re #125 * Re #126 * Re #127 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5c32e34a..072ae0e3 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Originally created for my contact page - [https://edent.tel/](https://edent.tel/ ## How Small? -| 542 Bytes SVG | 2,956 Bytes PNG | 422 Bytes SVG | 3,373 Bytes PNG | 250 Bytes SVG | 3,145 Bytes PNG | +| 542 Bytes SVG | 2,956 Bytes PNG | 433 Bytes SVG | 3,373 Bytes PNG | 250 Bytes SVG | 3,145 Bytes PNG | |------ |----------- |------ |---------- |------ |----------- | | | | | | | | @@ -19,7 +19,7 @@ Originally created for my contact page - [https://edent.tel/](https://edent.tel/
250 Bytes
283 Bytes
422 Bytes -
422 Bytes +
433 Bytes
589 Bytes @@ -104,7 +104,7 @@ Originally created for my contact page - [https://edent.tel/](https://edent.tel/
375 Bytes -
323 Bytes +
263 Bytes
505 Bytes
379 Bytes
583 Bytes @@ -112,7 +112,7 @@ Originally created for my contact page - [https://edent.tel/](https://edent.tel/
270 Bytes -
376 Bytes +
281 Bytes
259 Bytes
262 Bytes
250 Bytes