Add viewBox attribute to SVG

issue7320
review44911002
This commit is contained in:
Cédric Krier
2018-04-09 10:53:58 +02:00
parent a1e72f1839
commit 574204ad0f
53 changed files with 57 additions and 4 deletions
+1
View File
@@ -12,6 +12,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48"
height="48"
viewBox="0 0 48 48"
id="svg79606"
sodipodi:version="0.32"
inkscape:version="0.48.0 r9654"

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48"
height="48"
viewBox="0 0 48 48"
id="svg79606"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

+1
View File
@@ -12,6 +12,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg1256"
sodipodi:version="0.32"
inkscape:version="0.48.2 r9819"

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

+2 -1
View File
@@ -10,7 +10,8 @@
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="20"
height="20.000023"
height="20"
viewBox="0 0 20 20"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.45+devel"

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg1306"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

+1
View File
@@ -14,6 +14,7 @@
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg11300"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48.000000px"
height="48.000000px"
viewBox="0 0 48 48"
id="svg2327"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg4198"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg57"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg1306"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

+1
View File
@@ -16,6 +16,7 @@
id="svg19655"
height="48px"
width="48px"
viewBox="0 0 48 48"
inkscape:export-filename="/home/jimmac/Desktop/poing.png"
inkscape:export-xdpi="392.72742"
inkscape:export-ydpi="392.72742"

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg1377"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48.000000px"
height="48.000000px"
viewBox="0 0 48 48"
id="svg2327"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48.000000px"
height="48.000000px"
viewBox="0 0 48 48"
id="svg53383"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

+1
View File
@@ -19,6 +19,7 @@
id="svg249"
height="48.000000px"
width="48.000000px"
viewBox="0 0 48 48"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs3">

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

+1
View File
@@ -19,6 +19,7 @@
id="svg249"
height="48.000000px"
width="48.000000px"
viewBox="0 0 48 48"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs3">

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48.000000px"
height="48.000000px"
viewBox="0 0 48 48"
id="svg97"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

+1
View File
@@ -14,6 +14,7 @@
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg11300"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

+2 -1
View File
@@ -10,6 +10,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48"
height="48"
viewBox="0 0 48 48"
overflow="visible"
enable-background="new 0 0 128 129.396"
xml:space="preserve"
@@ -442,4 +443,4 @@
style="opacity:0.39772728;color:#000000;fill:url(#radialGradient2374);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999958;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
d="M 27.107118,34.408261 C 30.725101,34.739438 32.634842,32.962557 35.97527,32.855521 L 36,29.00603 L 27.088388,29 L 27.107118,34.408261 z "
id="rect2363"
sodipodi:nodetypes="ccccc" /></svg>
sodipodi:nodetypes="ccccc" /></svg>

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

+1
View File
@@ -16,6 +16,7 @@
id="svg11300"
height="48px"
width="48px"
viewBox="0 0 48 48"
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
inkscape:export-xdpi="90.000000"
inkscape:export-ydpi="90.000000"

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

+1
View File
@@ -16,6 +16,7 @@
id="svg11300"
height="48"
width="48"
viewBox="0 0 48 48"
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
inkscape:export-xdpi="90.000000"
inkscape:export-ydpi="90.000000"

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

+1
View File
@@ -16,6 +16,7 @@
id="svg11300"
height="48px"
width="48px"
viewBox="0 0 48 48"
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
inkscape:export-xdpi="90.000000"
inkscape:export-ydpi="90.000000"

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48.000000px"
height="48.000000px"
viewBox="0 0 48 48"
id="svg6361"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="256"
height="256"
viewBox="0 0 256 256"
id="svg2589"
sodipodi:version="0.32"
inkscape:version="0.48.0 r9654"

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg6431"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg6431"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

+1
View File
@@ -14,6 +14,7 @@
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg11300"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

+1
View File
@@ -12,6 +12,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="15.483605"
height="18.974854"
viewBox="0 0 48 48"
id="svg3617"
version="1.1"
inkscape:version="0.48.0 r9654"

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

+1
View File
@@ -14,6 +14,7 @@
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg11300"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

+1
View File
@@ -16,6 +16,7 @@
id="svg5816"
height="48px"
width="48px"
viewBox="0 0 48 48"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs3">

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

+1
View File
@@ -16,6 +16,7 @@
id="svg5816"
height="48px"
width="48px"
viewBox="0 0 48 48"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1">
<defs

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48.000000px"
height="48.000000px"
viewBox="0 0 48 48"
id="svg249"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

+3 -2
View File
@@ -14,8 +14,9 @@
inkscape:version="0.45+devel"
sodipodi:version="0.32"
id="svg11300"
height="20.000015"
width="20.000189"
height="20"
width="20"
viewBox="0 0 20 20"
inkscape:export-filename="/home/david/Desktop/OK/20x20/ok.png"
inkscape:export-xdpi="90.000000"
inkscape:export-ydpi="90.000000"

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48.000000px"
height="48.000000px"
viewBox="0 0 48 48"
id="svg97"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

@@ -14,6 +14,7 @@
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg11300"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

+1
View File
@@ -14,6 +14,7 @@
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg11300"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

+1
View File
@@ -14,6 +14,7 @@
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg11300"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

+1
View File
@@ -16,6 +16,7 @@
id="svg5816"
height="48px"
width="48px"
viewBox="0 0 48 48"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1">
<defs

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

+1
View File
@@ -12,6 +12,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48.000000px"
height="48.000000px"
viewBox="0 0 48 48"
id="svg249"
sodipodi:version="0.32"
inkscape:version="0.48.1 r9760"

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

+1
View File
@@ -16,6 +16,7 @@
id="svg2994"
height="48px"
width="48px"
viewBox="0 0 48 48"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs3">

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

+1
View File
@@ -14,6 +14,7 @@
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg11300"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

+1
View File
@@ -16,6 +16,7 @@
id="svg2913"
height="48px"
width="48px"
viewBox="0 0 48 48"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs3">

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

+1
View File
@@ -16,6 +16,7 @@
id="svg2913"
height="48px"
width="48px"
viewBox="0 0 48 48"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs3">

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

+1
View File
@@ -13,6 +13,7 @@
version="1.0"
width="48"
height="48"
viewBox="0 0 48 48"
id="svg0"
inkscape:version="0.48.2 r9819"
sodipodi:docname="tryton-star.svg">

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

+1
View File
@@ -14,6 +14,7 @@
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg11300"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg1288"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48.000000px"
height="48.000000px"
viewBox="0 0 48 48"
id="svg2327"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

+1
View File
@@ -14,6 +14,7 @@
inkscape:export-filename="/home/andreas/projekt/bild/tango/scalable/draw-pencil3.png"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg9121"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

+1
View File
@@ -15,6 +15,7 @@
inkscape:export-filename="/home/andreas/projekt/bild/tango/scalable/draw-pencil3.png"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg9121"
sodipodi:version="0.32"
inkscape:version="0.48.2 r9819"

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 32 KiB

+1
View File
@@ -19,6 +19,7 @@
id="svg249"
height="48.000000px"
width="48.000000px"
viewBox="0 0 48 48"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs3">

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

+1
View File
@@ -14,6 +14,7 @@
inkscape:export-filename="/home/jimmac/Desktop/wi-fi.png"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg11300"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

+1
View File
@@ -13,6 +13,7 @@
version="1.0"
width="48"
height="48"
viewBox="0 0 48 48"
id="svg0"
inkscape:version="0.48.2 r9819"
sodipodi:docname="tryton-unstar.svg">

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

+1
View File
@@ -11,6 +11,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="48px"
height="48px"
viewBox="0 0 48 48"
id="svg3440"
sodipodi:version="0.32"
inkscape:version="0.46"

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB