media/logo: Convert SVG logos from width/height to viewBox
authorW. Trevor King <wking@tremily.us>
Sun, 19 May 2013 04:07:08 +0000 (00:07 -0400)
committerW. Trevor King <wking@tremily.us>
Sun, 19 May 2013 04:07:08 +0000 (00:07 -0400)
Now they'll scale appropriately to fit the height I'll specify in
index.html.

media/logo/gentoo.svg
media/logo/gentoo.svg.txt
media/logo/gnu.svg
media/logo/gnu.svg.txt
media/logo/python.svg
media/logo/python.svg.txt

index cf7c2705e39d4660fe824ac7fdb432e22f022ee9..958403897de0eeb2f9fad883ce57a4b9bde8d696 100644 (file)
@@ -9,8 +9,7 @@
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   width="594.6626"
-   height="622.50458"
+   viewBox="0 0 594.6626 622.50458"
    id="svg2"
    sodipodi:version="0.32"
    inkscape:version="0.44"
index 18090bf13af54b8c0e5ef0efbfc538cf3992ba1d..d4715af93ead7d38bc46b1c3673ec784aa31c9c3 100644 (file)
@@ -5,3 +5,13 @@ http://www.gentoo.org/main/en/name-logo.xml
 
 More options on:
 http://www.gentoo.org/proj/en/desktop/artwork/artwork.xml
+
+Changes:
+* Edited to use a viewBox for proper scaling [1].
+  Replaced:
+    width="594.6626"
+    height="622.50458"
+  With:
+    viewBox="0 0 594.6626 622.50458"
+
+[1]: http://www.w3.org/Graphics/SVG/IG/resources/svgprimer.html
index 06403cb784f02fb63aa08f2535cf17b4c4446bbb..6b20075a9e3126bd259e7a4a52dfd17a74742ec1 100644 (file)
@@ -8,8 +8,7 @@
    xmlns="http://www.w3.org/2000/svg"
    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   width="534.68079"
-   height="522.76312"
+   viewBox="0 0 534.68079 522.76312"
    id="svg2"
    sodipodi:version="0.32"
    inkscape:version="0.46"
index 917daedba83dd61497b13a8a146e06d3c9be0293..80e852f8711de133db2e05cdff1cb9146a467b12 100644 (file)
@@ -5,3 +5,13 @@ http://www.gnu.org/graphics/
 
 Donated to the GNU Operating System by
 Aurelio A. Heckert <aurium@gmail.com>
+
+Changes:
+* Edited to use a viewBox for proper scaling [1].
+  Replaced:
+    width="534.68079"
+    height="522.76312"
+  With:
+    viewBox="0 0 534.68079 522.76312"
+
+[1]: http://www.w3.org/Graphics/SVG/IG/resources/svgprimer.html
index 938831f7ed7dc9068ff174384e228091378155e7..d6737731900beab23dd6ea729d545eb09e32c9cb 100644 (file)
@@ -14,8 +14,7 @@
    sodipodi:version="0.32"
    inkscape:version="0.43"
    sodipodi:docname="logo-python-inkscape.svg"
-   width="388.84pt"
-   height="115.02pt"
+   viewBox="0 0 125 125"
    sodipodi:docbase="/home/sdeibel">
   <metadata
      id="metadata371">
index 525e79b9d00465b07917ff98e08dc11980e85745..fc213c716729a071f564dfdcd1a2d1028c40bc1b 100644 (file)
@@ -2,3 +2,16 @@ http://www.python.org/community/logos/python-logo-inkscape.svg
 
 More options at:
 http://www.python.org/community/logos/
+
+Changes:
+* Edited to use a viewBox for proper scaling [1].
+  Replaced:
+    width="388.84pt"
+    height="115.02pt"
+  With:
+    viewBox="0 0 125 125"
+  The conversion from pt to pixels depends on the viewer's screen
+  resolution, so I just guessed and tweaked.  I also cut off the
+  'Python' text to be consistent with the other logos.
+
+[1]: http://www.w3.org/Graphics/SVG/IG/resources/svgprimer.html