[PATCH] ui/img: (issue115) Icon consistency improved by using inkscape automated export

Wald Commits scm-commit at wald.intevation.org
Fri Sep 19 15:23:54 CEST 2014


# HG changeset patch
# User Bernhard Reiter <bernhard at intevation.de>
# Date 1411133030 -7200
# Node ID 76c469b460d86f1dfe9e62185b99d3017081b25d
# Parent  37672abf0ca0261f276f2f8e0c73a9cd12027b6c
ui/img: (issue115) Icon consistency improved by using inkscape automated export.

diff -r 37672abf0ca0 -r 76c469b460d8 ui/img/cert-is-installed-bad-48.png
Binary file ui/img/cert-is-installed-bad-48.png has changed
diff -r 37672abf0ca0 -r 76c469b460d8 ui/img/cert-is-installed-good-48.png
Binary file ui/img/cert-is-installed-good-48.png has changed
diff -r 37672abf0ca0 -r 76c469b460d8 ui/img/cert-not-installed-bad-48.png
Binary file ui/img/cert-not-installed-bad-48.png has changed
diff -r 37672abf0ca0 -r 76c469b460d8 ui/img/cert-not-installed-good-48.png
Binary file ui/img/cert-not-installed-good-48.png has changed
diff -r 37672abf0ca0 -r 76c469b460d8 ui/img/src/Makefile
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/img/src/Makefile	Fri Sep 19 15:23:50 2014 +0200
@@ -0,0 +1,16 @@
+# Makefile inspired from oxygen-icons-4.13.0/scalable/export_pngs.sh
+# needs ImageMagick and Inkscape
+
+svgs := $(wildcard *.svg)
+
+targets := $(patsubst %.svg,%-48.png,$(svgs))
+
+all: $(targets)
+
+clean: 
+	rm $(targets) $(patsubst %.svg,%.png,$(svgs))
+
+%-48.png:%.svg
+	inkscape --without-gui "--export-png=$*.png" --export-dpi=72 --export-background-opacity=0 --export-width=512 --export-height=512 "$<" >/dev/null
+	convert -filter Sinc -resize 48x48 "$*.png" "$@"
+
diff -r 37672abf0ca0 -r 76c469b460d8 ui/img/src/cert-is-installed-bad.svg
--- a/ui/img/src/cert-is-installed-bad.svg	Fri Sep 19 12:49:18 2014 +0200
+++ b/ui/img/src/cert-is-installed-bad.svg	Fri Sep 19 15:23:50 2014 +0200
@@ -7553,7 +7553,7 @@
      width="128px"
      inkscape:window-width="611"
      inkscape:window-height="616"
-     inkscape:window-x="0"
+     inkscape:window-x="588"
      inkscape:window-y="0"
      showgrid="true"
      objecttolerance="5"
@@ -7584,10 +7584,6 @@
        orientation="0,1"
        position="226,155"
        id="guide3460" />
-    <sodipodi:guide
-       orientation="0,1"
-       position="-26.162951,112.69514"
-       id="guide4855" />
   </sodipodi:namedview>
   <metadata
      id="metadata37110">
@@ -7930,7 +7926,7 @@
     <g
        id="layer1-6"
        inkscape:label="Layer 1"
-       transform="matrix(0.39661881,0,0,0.39661881,38.634311,24.185183)">
+       transform="matrix(0.39661881,0,0,0.39661881,41.451139,24.185183)">
       <path
          transform="matrix(1.2270925,0,0,1.2310496,-14.09388,-9.5136494)"
          sodipodi:nodetypes="cccsccsccc"
diff -r 37672abf0ca0 -r 76c469b460d8 ui/img/src/cert-is-installed-good.svg
--- a/ui/img/src/cert-is-installed-good.svg	Fri Sep 19 12:49:18 2014 +0200
+++ b/ui/img/src/cert-is-installed-good.svg	Fri Sep 19 15:23:50 2014 +0200
@@ -3265,7 +3265,7 @@
      height="128px"
      width="128px"
      inkscape:window-width="580"
-     inkscape:window-height="696"
+     inkscape:window-height="616"
      inkscape:window-x="0"
      inkscape:window-y="0"
      showgrid="true"
@@ -3306,7 +3306,7 @@
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
-        <dc:title></dc:title>
+        <dc:title />
       </cc:Work>
     </rdf:RDF>
   </metadata>
@@ -3315,7 +3315,7 @@
      inkscape:groupmode="layer"
      id="layer1">
     <g
-       transform="matrix(0.21102925,0,0,0.20917176,-15.875634,-21.690407)"
+       transform="matrix(0.21102925,0,0,0.20917176,-15.875634,-27.131288)"
        id="g3518"
        inkscape:export-filename="/home/bernhard/werkbank/m13-icons/write-into-48.png"
        inkscape:export-xdpi="38.77"
@@ -3397,9 +3397,9 @@
        sodipodi:rx="36.062447"
        sodipodi:ry="18.031223"
        d="m 86.267029,85.220039 a 36.062447,18.031223 0 1 1 -72.124893,0 36.062447,18.031223 0 1 1 72.124893,0 z"
-       transform="matrix(0.962813,0,0,0.87276863,17.362376,-18.873504)" />
+       transform="matrix(0.962813,0,0,0.87276863,17.362376,-24.314385)" />
     <path
-       transform="matrix(0.94467507,0,0,0.85632692,18.272983,-17.472344)"
+       transform="matrix(0.94467507,0,0,0.85632692,18.272983,-22.913225)"
        d="m 86.267029,85.220039 a 36.062447,18.031223 0 1 1 -72.124893,0 36.062447,18.031223 0 1 1 72.124893,0 z"
        sodipodi:ry="18.031223"
        sodipodi:rx="36.062447"
@@ -3410,7 +3410,7 @@
        sodipodi:type="arc" />
     <g
        id="g6997"
-       transform="matrix(0.21102925,0,0,0.20917176,-15.875634,-36.690407)"
+       transform="matrix(0.21102925,0,0,0.20917176,-15.875634,-42.131288)"
        inkscape:export-filename="/home/bernhard/werkbank/m13-icons/write-into-48.png"
        inkscape:export-xdpi="38.77"
        inkscape:export-ydpi="38.77">
@@ -3483,7 +3483,7 @@
          sodipodi:type="inkscape:offset" />
     </g>
     <g
-       transform="matrix(0.21102925,0,0,0.20917176,-15.875634,-51.690407)"
+       transform="matrix(0.21102925,0,0,0.20917176,-15.875634,-57.131288)"
        id="g7037"
        inkscape:export-filename="/home/bernhard/werkbank/m13-icons/write-into-48.png"
        inkscape:export-xdpi="38.77"
@@ -3643,7 +3643,7 @@
     <g
        style="enable-background:new"
        id="g4164"
-       transform="matrix(0.54854133,0,0,0.54854133,34.155923,23.322232)">
+       transform="matrix(0.54854133,0,0,0.54854133,34.155923,17.881351)">
       <g
          id="layer1-9"
          inkscape:label="Layer 1">
diff -r 37672abf0ca0 -r 76c469b460d8 ui/img/src/write-into.svg
--- a/ui/img/src/write-into.svg	Fri Sep 19 12:49:18 2014 +0200
+++ b/ui/img/src/write-into.svg	Fri Sep 19 15:23:50 2014 +0200
@@ -16,7 +16,7 @@
    sodipodi:version="0.32"
    inkscape:version="0.48.3.1 r9886"
    version="1.0"
-   sodipodi:docname="svn-update.svgz"
+   sodipodi:docname="write-into.svg"
    inkscape:output_extension="org.inkscape.output.svgz.inkscape"
    inkscape:export-filename="/home/pinheiro/pics/oxygen-icons/scalable/actions/svn-update.png"
    inkscape:export-xdpi="180"
@@ -2939,6 +2939,78 @@
        y1="32.270653"
        x2="180.40749"
        y2="62.959969" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3184"
+       id="linearGradient3481"
+       gradientUnits="userSpaceOnUse"
+       spreadMethod="reflect"
+       x1="341.5318"
+       y1="528.58008"
+       x2="341.5318"
+       y2="700.07751" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3152"
+       id="radialGradient3483"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.0000001,0,0,0.7898656,-515.84706,106.14197)"
+       cx="902.44019"
+       cy="573.33636"
+       fx="902.44019"
+       fy="777.67505"
+       r="252.67185" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3220"
+       id="radialGradient3485"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.7097296,0.06452833,-0.05216787,0.9870304,-1209.4918,-86.255073)"
+       cx="949.625"
+       cy="517.85107"
+       fx="942.22406"
+       fy="440.14154"
+       r="119.39729" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3452"
+       id="radialGradient3487"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.4615497,0,0,0.7922186,-1517.0981,316.29645)"
+       cx="1302.5156"
+       cy="396.677"
+       fx="1302.5156"
+       fy="396.677"
+       r="252.67185" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3285"
+       id="linearGradient3489"
+       gradientUnits="userSpaceOnUse"
+       x1="1228.4824"
+       y1="349.26135"
+       x2="1228.4824"
+       y2="687.31006" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3452"
+       id="radialGradient3491"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(1.4615497,0,0,0.7922186,-1517.0981,321.08871)"
+       cx="1302.5156"
+       cy="396.677"
+       fx="1302.5156"
+       fy="396.677"
+       r="252.67185" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient3285"
+       id="linearGradient3493"
+       gradientUnits="userSpaceOnUse"
+       x1="1228.4824"
+       y1="349.26135"
+       x2="1228.4824"
+       y2="687.31006" />
   </defs>
   <sodipodi:namedview
      id="base"
@@ -2947,16 +3019,16 @@
      borderopacity="1.0"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
-     inkscape:zoom="2.8284271"
-     inkscape:cx="27.833054"
-     inkscape:cy="69.006084"
+     inkscape:zoom="2.83"
+     inkscape:cx="65.448361"
+     inkscape:cy="67.286041"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
      height="128px"
      width="128px"
-     inkscape:window-width="847"
-     inkscape:window-height="696"
-     inkscape:window-x="115"
+     inkscape:window-width="580"
+     inkscape:window-height="616"
+     inkscape:window-x="0"
      inkscape:window-y="0"
      showgrid="true"
      objecttolerance="5"
@@ -2996,7 +3068,7 @@
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
-        <dc:title></dc:title>
+        <dc:title />
       </cc:Work>
     </rdf:RDF>
   </metadata>
@@ -3005,7 +3077,7 @@
      inkscape:groupmode="layer"
      id="layer1">
     <g
-       transform="matrix(0.21102925,0,0,0.20917176,-15.875634,-21.690407)"
+       transform="matrix(0.21102925,0,0,0.20917176,-15.875634,-27.131288)"
        id="g3518">
       <path
          sodipodi:type="arc"
@@ -3084,9 +3156,9 @@
        sodipodi:rx="36.062447"
        sodipodi:ry="18.031223"
        d="m 86.267029,85.220039 a 36.062447,18.031223 0 1 1 -72.124893,0 36.062447,18.031223 0 1 1 72.124893,0 z"
-       transform="matrix(0.962813,0,0,0.87276863,17.362376,-18.873504)" />
+       transform="matrix(0.962813,0,0,0.87276863,17.362376,-24.314385)" />
     <path
-       transform="matrix(0.94467507,0,0,0.85632692,18.272983,-17.472344)"
+       transform="matrix(0.94467507,0,0,0.85632692,18.272983,-22.913225)"
        d="m 86.267029,85.220039 a 36.062447,18.031223 0 1 1 -72.124893,0 36.062447,18.031223 0 1 1 72.124893,0 z"
        sodipodi:ry="18.031223"
        sodipodi:rx="36.062447"
@@ -3097,7 +3169,7 @@
        sodipodi:type="arc" />
     <g
        id="g6997"
-       transform="matrix(0.21102925,0,0,0.20917176,-15.875634,-36.690407)">
+       transform="matrix(0.21102925,0,0,0.20917176,-15.875634,-42.131288)">
       <path
          transform="translate(45.061429,-54.602901)"
          d="m 594.20979,637.24835 c 0,69.7751 -113.12779,126.339 -252.67799,126.339 -139.5502,0 -252.677994,-56.5639 -252.677994,-126.339 0,-69.7751 113.127794,-126.33899 252.677994,-126.33899 139.5502,0 252.67799,56.56389 252.67799,126.33899 z"
@@ -3166,28 +3238,8 @@
          inkscape:radius="-3.430052"
          sodipodi:type="inkscape:offset" />
     </g>
-    <path
-       transform="matrix(0.962813,0,0,0.87276863,17.362376,-33.873504)"
-       d="m 86.267029,85.220039 a 36.062447,18.031223 0 1 1 -72.124893,0 36.062447,18.031223 0 1 1 72.124893,0 z"
-       sodipodi:ry="18.031223"
-       sodipodi:rx="36.062447"
-       sodipodi:cy="85.220039"
-       sodipodi:cx="50.204582"
-       id="path7017"
-       style="opacity:0.27227723;fill:none;stroke:url(#linearGradient7035);stroke-width:0.49323508;stroke-miterlimit:4;stroke-dasharray:none;filter:url(#filter10762)"
-       sodipodi:type="arc" />
-    <path
-       sodipodi:type="arc"
-       style="opacity:0.27227723;fill:none;stroke:#ffffff;stroke-width:0.49323508;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;filter:url(#filter10758)"
-       id="path7019"
-       sodipodi:cx="50.204582"
-       sodipodi:cy="85.220039"
-       sodipodi:rx="36.062447"
-       sodipodi:ry="18.031223"
-       d="m 86.267029,85.220039 a 36.062447,18.031223 0 1 1 -72.124893,0 36.062447,18.031223 0 1 1 72.124893,0 z"
-       transform="matrix(0.94467507,0,0,0.85632692,18.272983,-32.472344)" />
     <g
-       transform="matrix(0.21102925,0,0,0.20917176,-15.875634,-51.690407)"
+       transform="matrix(0.21102925,0,0,0.20917176,-15.875634,-57.131288)"
        id="g7037">
       <path
          sodipodi:type="arc"
@@ -3207,29 +3259,29 @@
          sodipodi:cy="637.24835"
          sodipodi:cx="341.5318"
          id="path7041"
-         style="fill:url(#linearGradient7061);fill-opacity:1;stroke:none"
+         style="fill:url(#linearGradient3481);fill-opacity:1;stroke:none"
          sodipodi:type="arc" />
       <path
-         style="fill:url(#radialGradient7063);fill-opacity:1;stroke:none"
+         style="fill:url(#radialGradient3483);fill-opacity:1;stroke:none"
          d="m 639.26508,523.65926 c 0,69.7391 -113.2092,126.34375 -252.6874,126.34375 -138.7519,-2e-5 -251.4856,-56.01143 -252.6563,-125.25 l 1,50.25 c 0,69.73913 112.2092,126.34376 251.6876,126.34375 139.4782,0 251.6561,-56.60462 251.6561,-126.34375 l 1,-51.34375 z"
          id="path7043"
          sodipodi:nodetypes="csccscc"
          inkscape:connector-curvature="0" />
       <path
-         style="fill:url(#radialGradient7065);fill-opacity:1;stroke:none;filter:url(#filter3275)"
+         style="fill:url(#radialGradient3485);fill-opacity:1;stroke:none;filter:url(#filter3275)"
          d="m 566.27727,486.15744 c 12.7997,40.36672 -63.6135,75.70779 -179.1824,75.70779 -121.1539,0 -196.2125,-36.47311 -179.1823,-75.70779 22.2134,-51.17628 102.4871,-75.70779 179.1823,-75.70779 73.9186,0 164.7584,30.21836 179.1824,75.70779 z"
          id="path7045"
          sodipodi:nodetypes="csszs"
          inkscape:connector-curvature="0" />
       <path
-         style="fill:url(#radialGradient7067);fill-opacity:1;stroke:none;filter:url(#filter3480)"
+         style="fill:url(#radialGradient3487);fill-opacity:1;stroke:none;filter:url(#filter3480)"
          d="m 134.39008,519.23381 c -0.2863,2.46133 -0.4688,4.94049 -0.4687,7.4375 0,69.73913 113.2092,126.34374 252.6874,126.34375 139.4783,0 252.6563,-56.60463 252.6563,-126.34375 0,-2.49701 -0.1512,-4.97617 -0.4375,-7.4375 -7.7085,66.28118 -117.7345,118.90625 -252.2188,118.90625 -134.4842,0 -244.5102,-52.62507 -252.2187,-118.90625 z"
          id="path7047"
          inkscape:connector-curvature="0" />
       <path
          id="path7049"
          d="m 1050.3125,441.16063 c -0.2863,2.46133 -0.4688,4.94049 -0.4687,7.4375 0,69.73913 113.2092,126.34374 252.6874,126.34375 139.4783,0 252.6563,-56.60463 252.6563,-126.34375 0,-2.49701 -0.1512,-4.97617 -0.4375,-7.4375 -7.7085,66.28118 -117.7345,124.90625 -252.2188,124.90625 -134.4842,0 -244.5102,-58.62507 -252.2187,-124.90625 z"
-         style="opacity:0.50553505;fill:url(#linearGradient7069);fill-opacity:1;stroke:none;filter:url(#filter3480)"
+         style="opacity:0.50553505;fill:url(#linearGradient3489);fill-opacity:1;stroke:none;filter:url(#filter3480)"
          sodipodi:nodetypes="cssscsc"
          transform="matrix(0.9792446,0,0,0.9792446,-888.88819,80.200032)"
          inkscape:connector-curvature="0" />
@@ -3237,7 +3289,7 @@
          sodipodi:type="inkscape:offset"
          inkscape:radius="-4.6332698"
          inkscape:original="M 134.375 524.03125 C 134.0887 526.49258 133.90615 528.97174 133.90625 531.46875 C 133.90625 601.20788 247.11555 657.81249 386.59375 657.8125 C 526.07205 657.8125 639.25 601.20787 639.25 531.46875 C 639.25 528.97174 639.0988 526.49258 638.8125 524.03125 C 631.104 590.31243 521.07805 642.9375 386.59375 642.9375 C 252.10955 642.9375 142.0835 590.31243 134.375 524.03125 z "
-         style="fill:url(#radialGradient7071);fill-opacity:1;stroke:none;filter:url(#filter3480)"
+         style="fill:url(#radialGradient3491);fill-opacity:1;stroke:none;filter:url(#filter3480)"
          id="path7051"
          d="m 152.9375,571.65625 c 12.16324,16.81774 31.53901,32.22263 57.09375,45 44.89458,22.44729 107.45018,36.53125 176.5625,36.53125 69.11238,0 131.67587,-14.0841 176.5625,-36.53125 25.37647,-12.6904 44.63421,-27.97284 56.8125,-44.65625 -14.13538,15.50174 -33.86123,29.21936 -57.75,40.53125 -46.07574,21.81794 -107.7785,35.03125 -175.625,35.03125 -67.84645,0 -129.54925,-13.21331 -175.625,-35.03125 -24.06082,-11.39335 -43.87678,-25.23522 -58.03125,-40.875 z" />
       <path
@@ -3252,31 +3304,11 @@
          sodipodi:type="inkscape:offset"
          inkscape:radius="-3.430052"
          inkscape:original="M 1050.3125 441.15625 C 1050.0262 443.61758 1049.8436 446.09674 1049.8438 448.59375 C 1049.8438 518.33288 1163.053 574.93749 1302.5312 574.9375 C 1442.0095 574.9375 1555.1875 518.33287 1555.1875 448.59375 C 1555.1875 446.09674 1555.0363 443.61758 1554.75 441.15625 C 1547.0415 507.43743 1437.0156 566.0625 1302.5312 566.0625 C 1168.0471 566.0625 1058.021 507.43743 1050.3125 441.15625 z "
-         style="opacity:0.50553505;fill:url(#linearGradient7073);fill-opacity:1;stroke:none;filter:url(#filter10866)"
+         style="opacity:0.50553505;fill:url(#linearGradient3493);fill-opacity:1;stroke:none;filter:url(#filter10866)"
          id="path7055"
          d="m 1058.9375,474.46875 c 10.1249,22.96419 33.4256,43.85342 66.4687,60.375 45.1134,22.55668 107.85,36.65625 177.125,36.65625 69.2752,0 131.9883,-14.09967 177.0938,-36.65625 32.9585,-16.48205 56.2139,-37.31923 66.375,-60.21875 -13.5772,21.72364 -37.4334,41.27719 -68.2812,56.90625 -45.8654,23.23771 -107.4469,37.96875 -175.1876,37.96875 -67.7404,0 -129.322,-14.73104 -175.1874,-37.96875 -30.9273,-15.6693 -54.8474,-35.27158 -68.4063,-57.0625 z"
          transform="matrix(0.99604613,0,0,0.99604613,-910.77245,72.383549)" />
     </g>
-    <path
-       sodipodi:type="arc"
-       style="opacity:0.27227723;fill:none;stroke:url(#linearGradient7075);stroke-width:0.49323508;stroke-miterlimit:4;stroke-dasharray:none;filter:url(#filter10762)"
-       id="path7057"
-       sodipodi:cx="50.204582"
-       sodipodi:cy="85.220039"
-       sodipodi:rx="36.062447"
-       sodipodi:ry="18.031223"
-       d="m 86.267029,85.220039 a 36.062447,18.031223 0 1 1 -72.124893,0 36.062447,18.031223 0 1 1 72.124893,0 z"
-       transform="matrix(0.962813,0,0,0.87276863,17.362376,-48.873504)" />
-    <path
-       transform="matrix(0.94467507,0,0,0.85632692,18.272983,-47.472344)"
-       d="m 86.267029,85.220039 a 36.062447,18.031223 0 1 1 -72.124893,0 36.062447,18.031223 0 1 1 72.124893,0 z"
-       sodipodi:ry="18.031223"
-       sodipodi:rx="36.062447"
-       sodipodi:cy="85.220039"
-       sodipodi:cx="50.204582"
-       id="path7059"
-       style="opacity:0.27227723;fill:none;stroke:#ffffff;stroke-width:0.49323508;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;filter:url(#filter10758)"
-       sodipodi:type="arc" />
     <g
        id="layer4"
        inkscape:label="box"
diff -r 37672abf0ca0 -r 76c469b460d8 ui/img/write-into-48.png
Binary file ui/img/write-into-48.png has changed
diff -r 37672abf0ca0 -r 76c469b460d8 ui/img/write-remove-48.png
Binary file ui/img/write-remove-48.png has changed


More information about the Trustbridge-commits mailing list