Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi Manuel!
I started optimizing your SVG files from the green arrow style. I'm an trouper if it comes to SVG (see Wikipedia) and so I thought you might like it if I clean them a bit. SVG are valid and working in all browsers and editors.
imagecache-dimensions.svg
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="522px" height="420px" viewBox="0 0 522 420">
<title>ImageCache dimensions</title>
<desc>http://drupal.org/project/galleryformatter</desc>
<rect x="11" y="14.123" fill="#5E6259" width="500" height="312.5"/>
<rect x="11.019" y="329.94" fill="#5E6259" width="121.268" height="75"/>
<rect x="389.284" y="330.877" fill="#5E6259" width="121.268" height="75"/>
<rect x="137.107" y="329.94" fill="#5E6259" width="121.268" height="75"/>
<rect x="263.196" y="329.94" fill="#5E6259" width="121.268" height="75"/>
</svg>
sprite.svg
Follows tomorrow (it's late in Austria ;-) ).
Regards
Comments
Comment #1
Manuel Garcia CreditAttribution: Manuel Garcia commentedAwesome Fleshgrinder =) Your help here is very welcome. I know not much about svg code, and you make me realize how much junk code inkscape actually produces.
I'll prepare a proper patch when we get both files ready.
I decided to include the source files for the sprites so that people could make new ones using the same CSS, and well, since this is FOSS, I thought it appropriate (I wish others did the same). Never bothered to actually open up the svg files in a text editor though!