From: W. Trevor King Date: Sun, 19 May 2013 04:07:08 +0000 (-0400) Subject: media/logo: Convert SVG logos from width/height to viewBox X-Git-Tag: thesis-v1.0~36 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=71177a2fa945a38c07d19399323d57bc28298704;p=reveal.js.git media/logo: Convert SVG logos from width/height to viewBox Now they'll scale appropriately to fit the height I'll specify in index.html. --- diff --git a/media/logo/gentoo.svg b/media/logo/gentoo.svg index cf7c270..9584038 100644 --- a/media/logo/gentoo.svg +++ b/media/logo/gentoo.svg @@ -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" diff --git a/media/logo/gentoo.svg.txt b/media/logo/gentoo.svg.txt index 18090bf..d4715af 100644 --- a/media/logo/gentoo.svg.txt +++ b/media/logo/gentoo.svg.txt @@ -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 diff --git a/media/logo/gnu.svg b/media/logo/gnu.svg index 06403cb..6b20075 100644 --- a/media/logo/gnu.svg +++ b/media/logo/gnu.svg @@ -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" diff --git a/media/logo/gnu.svg.txt b/media/logo/gnu.svg.txt index 917daed..80e852f 100644 --- a/media/logo/gnu.svg.txt +++ b/media/logo/gnu.svg.txt @@ -5,3 +5,13 @@ http://www.gnu.org/graphics/ Donated to the GNU Operating System by Aurelio A. Heckert + +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 diff --git a/media/logo/python.svg b/media/logo/python.svg index 938831f..d673773 100644 --- a/media/logo/python.svg +++ b/media/logo/python.svg @@ -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"> diff --git a/media/logo/python.svg.txt b/media/logo/python.svg.txt index 525e79b..fc213c7 100644 --- a/media/logo/python.svg.txt +++ b/media/logo/python.svg.txt @@ -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