Passed with svgo 0.4.2 <https://github.com/svg/svgo>, then prepended '<?xml version="1.0" encoding="UTF-8"?>' prolog to each file since svgo sees it fit to remove it and that breaks file type detection. svgo truncated all numerical values to a maximum of 3 decimal places of precision. Applied some additional optimizations by hand (with a text editor or in Inkscape). Did not touch upstream-managed SVG files, will submit separate patches for them. File size changes: * cog-sprite.svg: 2,520 → 1,253 bytes – 50.3% smaller * cog.svg: 17,961 → 1,154 bytes – 93.6% smaller * display.svg: 2,591 → 1,053 bytes – 59.4% smaller * help.svg: 1,790 → 674 bytes – 62.3% smaller * input.svg: 5,515 → 2,092 bytes – 62.1% smaller * remove-input.svg: 5,956 → 2,208 bytes – 62.9% smaller Total: 36,333 → 8,434 bytes – 76.8% smaller Details: * cog-sprite.svg: * Use <defs> and <use> instead of duplicating the path data. * cog.svg: * Vacuumed defs with Inkscape, there were weird leftovers there. * input.svg: * Simplified the shapes. * remove-input.svg: * As above. Reused the same path data with a transform to improve compression when embedded. Bug: 56292 Change-Id: Iad1771829ba2711e4827befc1c73e34453734640
1 line
1.1 KiB
XML
1 line
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="20" height="14"><path d="M9.032 0c-.232 0-.418.187-.418.418v1.064c-.541.134-1.062.351-1.552.645l-.75-.75c-.164-.164-.429-.164-.593 0l-1.36 1.36c-.164.164-.164.429 0 .593l.75.75c-.292.488-.495 1.015-.628 1.552h-1.064c-.232 0-.418.187-.418.418v1.918c0 .232.187.418.418.418h1.046c.134.542.35 1.062.645 1.552l-.75.75c-.164.164-.164.429 0 .593l1.36 1.36c.164.164.429.164.593 0l.75-.75c.492.297 1.01.493 1.552.628v1.064c0 .232.187.418.418.418h1.918c.232 0 .418-.187.418-.418v-1.064c.543-.134 1.061-.333 1.552-.628l.75.75c.164.164.429.164.593 0l1.36-1.36c.164-.164.164-.429 0-.593l-.75-.75c.295-.489.51-1.013.645-1.552h1.064c.232 0 .418-.187.418-.418v-1.918c0-.232-.187-.418-.418-.418h-1.064c-.134-.538-.353-1.065-.645-1.552l.75-.75c.164-.164.164-.429 0-.593l-1.36-1.36c-.164-.164-.429-.164-.593 0l-.75.75c-.49-.294-1.013-.512-1.552-.645v-1.064c0-.232-.187-.418-.418-.418h-1.918zm.889 4.359c.678-.018 1.369.211 1.9.715 1.062 1.007 1.112 2.686.105 3.748-1.005 1.059-2.686 1.106-3.748.105-1.062-1.007-1.112-2.686-.105-3.748.504-.531 1.17-.801 1.848-.819z" fill="#434343"/></svg> |