Disallow 'text'-tags in SVG-images

This commit is contained in:
pietervdvn 2022-05-07 21:41:58 +02:00
parent a091f3b7b4
commit e08a7ca2cf
10 changed files with 19918 additions and 21112 deletions

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 635 KiB

After

Width:  |  Height:  |  Size: 374 KiB

View file

@ -2,25 +2,26 @@
<!-- Created with Inkscape (http://www.inkscape.org/) --> <!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg <svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
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"
xmlns="http://www.w3.org/2000/svg"
width="273.06668" width="273.06668"
height="273.06668" height="273.06668"
id="svg3038" id="svg3038"
version="1.1" version="1.1"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)" inkscape:version="1.1.2 (1:1.1+202202050950+0a00cf5339)"
sodipodi:docname="osm-logo-buggy-attr.svg" sodipodi:docname="osm-logo-buggy-attr.svg"
inkscape:export-filename="/home/fred/bla.png" inkscape:export-filename="/home/fred/bla.png"
inkscape:export-xdpi="180" inkscape:export-xdpi="180"
inkscape:export-ydpi="180" inkscape:export-ydpi="180"
sodipodi:version="0.32" sodipodi:version="0.32"
inkscape:output_extension="org.inkscape.output.svg.inkscape" inkscape:output_extension="org.inkscape.output.svg.inkscape"
viewBox="0 0 256 256"> viewBox="0 0 256 256"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<title <title
id="title3594">OpenStreetMap logo 2011 id="title3594">OpenStreetMap logo 2011
</title> </title>
@ -1241,17 +1242,6 @@
inkscape:vp_y="0 : 999.99995 : 0" inkscape:vp_y="0 : 999.99995 : 0"
inkscape:vp_x="0 : 0.49999998 : 1" inkscape:vp_x="0 : 0.49999998 : 1"
sodipodi:type="inkscape:persp3d" /> sodipodi:type="inkscape:persp3d" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6846"
id="radialGradient6427"
cx="159.61317"
cy="72.588303"
fx="159.61317"
fy="72.588303"
r="38.416904"
gradientTransform="matrix(1.2124778,0,0,0.83914635,-46.866638,42.987182)"
gradientUnits="userSpaceOnUse"/>
<inkscape:perspective <inkscape:perspective
id="perspective6437" id="perspective6437"
inkscape:persp3d-origin="0.49999998 : 0.33333331 : 1" inkscape:persp3d-origin="0.49999998 : 0.33333331 : 1"
@ -1326,17 +1316,6 @@
r="38.416904" r="38.416904"
gradientTransform="matrix(1,0,0,0.69209216,-1.4142136,17.754313)" gradientTransform="matrix(1,0,0,0.69209216,-1.4142136,17.754313)"
gradientUnits="userSpaceOnUse" /> gradientUnits="userSpaceOnUse" />
<radialGradient
r="38.416904"
fy="72.588303"
fx="159.61317"
cy="72.588303"
cx="159.61317"
gradientTransform="matrix(1.2124778,0,0,0.83914635,-46.43797,44.273211)"
gradientUnits="userSpaceOnUse"
id="radialGradient6482"
xlink:href="#linearGradient4744-9-9"
inkscape:collect="always"/>
<inkscape:perspective <inkscape:perspective
id="perspective6551" id="perspective6551"
inkscape:persp3d-origin="0.49999998 : 0.33333331 : 1" inkscape:persp3d-origin="0.49999998 : 0.33333331 : 1"
@ -1965,7 +1944,11 @@
</linearGradient> </linearGradient>
<filter <filter
inkscape:collect="always" inkscape:collect="always"
id="filter7286"> id="filter7286"
x="-0.04799979"
y="-0.048000206"
width="1.0959996"
height="1.0960004">
<feGaussianBlur <feGaussianBlur
inkscape:collect="always" inkscape:collect="always"
stdDeviation="4.2868936" stdDeviation="4.2868936"
@ -2561,7 +2544,11 @@
sodipodi:type="inkscape:persp3d" /> sodipodi:type="inkscape:persp3d" />
<filter <filter
inkscape:collect="always" inkscape:collect="always"
id="filter8661"> id="filter8661"
x="-0.070663117"
y="-0.070663729"
width="1.1413262"
height="1.1413275">
<feGaussianBlur <feGaussianBlur
inkscape:collect="always" inkscape:collect="always"
stdDeviation="6.3109704" stdDeviation="6.3109704"
@ -2603,7 +2590,11 @@
sodipodi:type="inkscape:persp3d" /> sodipodi:type="inkscape:persp3d" />
<filter <filter
inkscape:collect="always" inkscape:collect="always"
id="filter8725"> id="filter8725"
x="-0.047336283"
y="-0.048682594"
width="1.0946726"
height="1.0973652">
<feGaussianBlur <feGaussianBlur
inkscape:collect="always" inkscape:collect="always"
stdDeviation="4.4575" stdDeviation="4.4575"
@ -2656,10 +2647,10 @@
borderopacity="1.0" borderopacity="1.0"
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:zoom="1.2774984" inkscape:zoom="6.4333513"
inkscape:cx="-56.925434" inkscape:cx="156.83894"
inkscape:cy="253.67281" inkscape:cy="88.134469"
inkscape:current-layer="layer2" inkscape:current-layer="layer5"
showgrid="true" showgrid="true"
inkscape:document-units="px" inkscape:document-units="px"
inkscape:grid-bbox="true" inkscape:grid-bbox="true"
@ -2667,7 +2658,8 @@
inkscape:window-height="1001" inkscape:window-height="1001"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="0" inkscape:window-y="0"
inkscape:window-maximized="1"/> inkscape:window-maximized="1"
inkscape:pagecheckerboard="0" />
<metadata <metadata
id="metadata3043"> id="metadata3043">
<rdf:RDF> <rdf:RDF>
@ -2683,7 +2675,7 @@
</cc:Agent> </cc:Agent>
</dc:creator> </dc:creator>
<cc:license <cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/"/> rdf:resource="http://artlibre.org/licence/lal" />
<dc:date>April 2011</dc:date> <dc:date>April 2011</dc:date>
<dc:publisher> <dc:publisher>
<cc:Agent> <cc:Agent>
@ -3230,66 +3222,6 @@
d="M 133.512,55.366657 C 174.17064,23.193298 211.6473,42.638735 211.29375,60.669958 210.9402,78.701181 154.72521,131.02708 134.92622,126.78444 115.12723,122.5418 109.47037,73.39788 133.512,55.366657 Z" d="M 133.512,55.366657 C 174.17064,23.193298 211.6473,42.638735 211.29375,60.669958 210.9402,78.701181 154.72521,131.02708 134.92622,126.78444 115.12723,122.5418 109.47037,73.39788 133.512,55.366657 Z"
id="path6587" id="path6587"
inkscape:connector-curvature="0" /> inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;opacity:0.46086958;fill:url(#radialGradient6482);fill-opacity:1;stroke:none"
x="99.320679"
y="87.64312"
id="text6302-7"
transform="rotate(-8.8996237)"><tspan
sodipodi:role="line"
id="tspan6304-0"
x="99.320679"
y="87.64312"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1">01011001</tspan>
<tspan
sodipodi:role="line"
x="99.320679"
y="112.39278"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
id="tspan6415-7">00110101</tspan>
<tspan
sodipodi:role="line"
x="99.320679"
y="137.14246"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
id="tspan6417-1">10010011</tspan>
<tspan
sodipodi:role="line"
x="99.320679"
y="161.89212"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
id="tspan6419-9"> </tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;fill:url(#radialGradient6427);fill-opacity:1;stroke:none"
x="98.891991"
y="86.357094"
id="text6302"
transform="rotate(-8.8996237)"><tspan
sodipodi:role="line"
id="tspan6304"
x="98.891991"
y="86.357094"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1">01011001</tspan>
<tspan
sodipodi:role="line"
x="98.891991"
y="111.10676"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
id="tspan6415">00110101</tspan>
<tspan
sodipodi:role="line"
x="98.891991"
y="135.85643"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
id="tspan6417">10010011</tspan>
<tspan
sodipodi:role="line"
x="98.891991"
y="160.60609"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
id="tspan6419"> </tspan></text>
<path <path
style="opacity:0.76521738;fill:url(#linearGradient6614);fill-opacity:1;stroke:none" style="opacity:0.76521738;fill:url(#linearGradient6614);fill-opacity:1;stroke:none"
d="m 221.80688,147.4069 c -26.79401,21.9828 -41.80834,21.0073 -38.07474,13.13797 3.73361,-7.86929 42.32585,-41.65518 51.44717,-43.7482 9.1213,-2.09301 2.27518,18.04121 -13.37243,30.61023 z" d="m 221.80688,147.4069 c -26.79401,21.9828 -41.80834,21.0073 -38.07474,13.13797 3.73361,-7.86929 42.32585,-41.65518 51.44717,-43.7482 9.1213,-2.09301 2.27518,18.04121 -13.37243,30.61023 z"

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 155 KiB

View file

@ -2,25 +2,26 @@
<!-- Created with Inkscape (http://www.inkscape.org/) --> <!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg <svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
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"
xmlns="http://www.w3.org/2000/svg"
width="273.06668" width="273.06668"
height="273.06668" height="273.06668"
id="svg3038" id="svg3038"
version="1.1" version="1.1"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)" inkscape:version="1.1.2 (1:1.1+202202050950+0a00cf5339)"
sodipodi:docname="osm-logo-white-bg.svg" sodipodi:docname="osm-logo-white-bg.svg"
inkscape:export-filename="/home/fred/bla.png" inkscape:export-filename="/home/fred/bla.png"
inkscape:export-xdpi="180" inkscape:export-xdpi="180"
inkscape:export-ydpi="180" inkscape:export-ydpi="180"
sodipodi:version="0.32" sodipodi:version="0.32"
inkscape:output_extension="org.inkscape.output.svg.inkscape" inkscape:output_extension="org.inkscape.output.svg.inkscape"
viewBox="0 0 256 256"> viewBox="0 0 256 256"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<title <title
id="title3594">OpenStreetMap logo 2011 id="title3594">OpenStreetMap logo 2011
</title> </title>
@ -1241,17 +1242,6 @@
inkscape:vp_y="0 : 999.99995 : 0" inkscape:vp_y="0 : 999.99995 : 0"
inkscape:vp_x="0 : 0.49999998 : 1" inkscape:vp_x="0 : 0.49999998 : 1"
sodipodi:type="inkscape:persp3d" /> sodipodi:type="inkscape:persp3d" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6846"
id="radialGradient6427"
cx="159.61317"
cy="72.588303"
fx="159.61317"
fy="72.588303"
r="38.416904"
gradientTransform="matrix(1.2124778,0,0,0.83914635,-46.866638,42.987182)"
gradientUnits="userSpaceOnUse"/>
<inkscape:perspective <inkscape:perspective
id="perspective6437" id="perspective6437"
inkscape:persp3d-origin="0.49999998 : 0.33333331 : 1" inkscape:persp3d-origin="0.49999998 : 0.33333331 : 1"
@ -1326,17 +1316,6 @@
r="38.416904" r="38.416904"
gradientTransform="matrix(1,0,0,0.69209216,-1.4142136,17.754313)" gradientTransform="matrix(1,0,0,0.69209216,-1.4142136,17.754313)"
gradientUnits="userSpaceOnUse" /> gradientUnits="userSpaceOnUse" />
<radialGradient
r="38.416904"
fy="72.588303"
fx="159.61317"
cy="72.588303"
cx="159.61317"
gradientTransform="matrix(1.2124778,0,0,0.83914635,-46.43797,44.273211)"
gradientUnits="userSpaceOnUse"
id="radialGradient6482"
xlink:href="#linearGradient4744-9-9"
inkscape:collect="always"/>
<inkscape:perspective <inkscape:perspective
id="perspective6551" id="perspective6551"
inkscape:persp3d-origin="0.49999998 : 0.33333331 : 1" inkscape:persp3d-origin="0.49999998 : 0.33333331 : 1"
@ -1965,7 +1944,11 @@
</linearGradient> </linearGradient>
<filter <filter
inkscape:collect="always" inkscape:collect="always"
id="filter7286"> id="filter7286"
x="-0.04799979"
y="-0.048000206"
width="1.0959996"
height="1.0960004">
<feGaussianBlur <feGaussianBlur
inkscape:collect="always" inkscape:collect="always"
stdDeviation="4.2868936" stdDeviation="4.2868936"
@ -2561,7 +2544,11 @@
sodipodi:type="inkscape:persp3d" /> sodipodi:type="inkscape:persp3d" />
<filter <filter
inkscape:collect="always" inkscape:collect="always"
id="filter8661"> id="filter8661"
x="-0.070663117"
y="-0.070663729"
width="1.1413262"
height="1.1413275">
<feGaussianBlur <feGaussianBlur
inkscape:collect="always" inkscape:collect="always"
stdDeviation="6.3109704" stdDeviation="6.3109704"
@ -2603,7 +2590,11 @@
sodipodi:type="inkscape:persp3d" /> sodipodi:type="inkscape:persp3d" />
<filter <filter
inkscape:collect="always" inkscape:collect="always"
id="filter8725"> id="filter8725"
x="-0.047336283"
y="-0.048682594"
width="1.0946726"
height="1.0973652">
<feGaussianBlur <feGaussianBlur
inkscape:collect="always" inkscape:collect="always"
stdDeviation="4.4575" stdDeviation="4.4575"
@ -2656,9 +2647,9 @@
borderopacity="1.0" borderopacity="1.0"
inkscape:pageopacity="0.0" inkscape:pageopacity="0.0"
inkscape:pageshadow="2" inkscape:pageshadow="2"
inkscape:zoom="1.2774984" inkscape:zoom="18.171621"
inkscape:cx="-56.925434" inkscape:cx="167.29383"
inkscape:cy="253.67281" inkscape:cy="73.90645"
inkscape:current-layer="layer5" inkscape:current-layer="layer5"
showgrid="true" showgrid="true"
inkscape:document-units="px" inkscape:document-units="px"
@ -2667,7 +2658,8 @@
inkscape:window-height="1001" inkscape:window-height="1001"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="0" inkscape:window-y="0"
inkscape:window-maximized="1"/> inkscape:window-maximized="1"
inkscape:pagecheckerboard="0" />
<metadata <metadata
id="metadata3043"> id="metadata3043">
<rdf:RDF> <rdf:RDF>
@ -2683,7 +2675,7 @@
</cc:Agent> </cc:Agent>
</dc:creator> </dc:creator>
<cc:license <cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/"/> rdf:resource="http://artlibre.org/licence/lal" />
<dc:date>April 2011</dc:date> <dc:date>April 2011</dc:date>
<dc:publisher> <dc:publisher>
<cc:Agent> <cc:Agent>
@ -3219,66 +3211,6 @@
d="M 133.512,55.366657 C 174.17064,23.193298 211.6473,42.638735 211.29375,60.669958 210.9402,78.701181 154.72521,131.02708 134.92622,126.78444 115.12723,122.5418 109.47037,73.39788 133.512,55.366657 Z" d="M 133.512,55.366657 C 174.17064,23.193298 211.6473,42.638735 211.29375,60.669958 210.9402,78.701181 154.72521,131.02708 134.92622,126.78444 115.12723,122.5418 109.47037,73.39788 133.512,55.366657 Z"
id="path6587" id="path6587"
inkscape:connector-curvature="0" /> inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;opacity:0.46086958;fill:url(#radialGradient6482);fill-opacity:1;stroke:none"
x="99.320679"
y="87.64312"
id="text6302-7"
transform="rotate(-8.8996237)"><tspan
sodipodi:role="line"
id="tspan6304-0"
x="99.320679"
y="87.64312"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1">01011001</tspan>
<tspan
sodipodi:role="line"
x="99.320679"
y="112.39278"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
id="tspan6415-7">00110101</tspan>
<tspan
sodipodi:role="line"
x="99.320679"
y="137.14246"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
id="tspan6417-1">10010011</tspan>
<tspan
sodipodi:role="line"
x="99.320679"
y="161.89212"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
id="tspan6419-9"> </tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;fill:url(#radialGradient6427);fill-opacity:1;stroke:none"
x="98.891991"
y="86.357094"
id="text6302"
transform="rotate(-8.8996237)"><tspan
sodipodi:role="line"
id="tspan6304"
x="98.891991"
y="86.357094"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1">01011001</tspan>
<tspan
sodipodi:role="line"
x="98.891991"
y="111.10676"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
id="tspan6415">00110101</tspan>
<tspan
sodipodi:role="line"
x="98.891991"
y="135.85643"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
id="tspan6417">10010011</tspan>
<tspan
sodipodi:role="line"
x="98.891991"
y="160.60609"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
id="tspan6419"> </tspan></text>
<path <path
style="opacity:0.76521738;fill:url(#linearGradient6614);fill-opacity:1;stroke:none" style="opacity:0.76521738;fill:url(#linearGradient6614);fill-opacity:1;stroke:none"
d="m 221.80688,147.4069 c -26.79401,21.9828 -41.80834,21.0073 -38.07474,13.13797 3.73361,-7.86929 42.32585,-41.65518 51.44717,-43.7482 9.1213,-2.09301 2.27518,18.04121 -13.37243,30.61023 z" d="m 221.80688,147.4069 c -26.79401,21.9828 -41.80834,21.0073 -38.07474,13.13797 3.73361,-7.86929 42.32585,-41.65518 51.44717,-43.7482 9.1213,-2.09301 2.27518,18.04121 -13.37243,30.61023 z"

Before

Width:  |  Height:  |  Size: 183 KiB

After

Width:  |  Height:  |  Size: 152 KiB

View file

@ -1,18 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg <svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
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"
id="svg4339" id="svg4339"
version="1.1" version="1.1"
inkscape:version="1.0.2 (e86c870879, 2021-01-15)" inkscape:version="1.1.2 (1:1.1+202202050950+0a00cf5339)"
width="500" width="500"
height="587.92395" height="587.92395"
sodipodi:docname="vet.svg"> sodipodi:docname="vet.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<metadata <metadata
id="metadata4345"> id="metadata4345">
<rdf:RDF> <rdf:RDF>
@ -21,7 +21,6 @@
<dc:format>image/svg+xml</dc:format> <dc:format>image/svg+xml</dc:format>
<dc:type <dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work> </cc:Work>
</rdf:RDF> </rdf:RDF>
</metadata> </metadata>
@ -54,13 +53,14 @@
showguides="true" showguides="true"
inkscape:guide-bbox="true" inkscape:guide-bbox="true"
inkscape:zoom="1.1352191" inkscape:zoom="1.1352191"
inkscape:cx="279.26018" inkscape:cx="279.24125"
inkscape:cy="260.31831" inkscape:cy="281.88391"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="0" inkscape:window-y="0"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="svg4339" inkscape:current-layer="svg4339"
inkscape:document-rotation="0"> inkscape:document-rotation="0"
inkscape:pagecheckerboard="0">
<sodipodi:guide <sodipodi:guide
orientation="0,1" orientation="0,1"
position="289.01695,294" position="289.01695,294"
@ -87,12 +87,14 @@
style="fill:#714cff;fill-opacity:1;stroke:none" style="fill:#714cff;fill-opacity:1;stroke:none"
id="path2858-6-2-0-2-6-4-6" /> id="path2858-6-2-0-2-6-4-6" />
</g> </g>
<text <g
xml:space="preserve" aria-label="V"
transform="matrix(16.414685,0,0,12.686072,-2604.0754,-2505.816)"
id="text869" id="text869"
style="font-style:normal;font-weight:normal;font-size:40px;line-height:25px;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect871);fill:#f10000;fill-opacity:0.79850543;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;" style="font-size:40px;line-height:25px;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect871);fill:#f10000;fill-opacity:0.798505;stroke-width:1px">
transform="matrix(16.414685,0,0,12.686072,-2617.2879,-2514.4493)"><tspan <path
x="160.57617" d="m 186.57617,212.43462 -9.72,28.56 h -6.6 l -9.68,-28.56 h 6.12 l 5.36,17 q 0.16,0.44 0.44,1.64 0.32,1.16 0.64,2.48 0.32,1.28 0.44,2.16 0.12,-0.88 0.4,-2.16 0.32,-1.32 0.64,-2.48 0.32,-1.2 0.44,-1.64 l 5.4,-17 z"
y="239.99023"><tspan style="font-weight:bold"
style="fill:#f10000;fill-opacity:0.798505">V</tspan></tspan></text> id="path3724" />
</g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View file

@ -1841,58 +1841,7 @@
d="M 131.1683,37.049946 C 171.82694,4.876587 209.3036,24.322024 208.95005,42.353247 208.5965,60.38447 152.38151,112.71037 132.58252,108.46773 112.78353,104.22509 107.12667,55.081169 131.1683,37.049946 Z" d="M 131.1683,37.049946 C 171.82694,4.876587 209.3036,24.322024 208.95005,42.353247 208.5965,60.38447 152.38151,112.71037 132.58252,108.46773 112.78353,104.22509 107.12667,55.081169 131.1683,37.049946 Z"
id="path6587" id="path6587"
inkscape:connector-curvature="0"/> inkscape:connector-curvature="0"/>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;opacity:0.46086958;fill:url(#radialGradient6482);fill-opacity:1;stroke:none"
x="99.83886"
y="69.184349"
id="text6302-7"
transform="rotate(-8.8996237)"><tspan
id="tspan6304-0"
x="99.83886"
y="69.184349"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1">01011001</tspan>
<tspan
x="99.83886"
y="93.934013"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
id="tspan6415-7">00110101</tspan>
<tspan
x="99.83886"
y="118.68368"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
id="tspan6417-1">10010011</tspan>
<tspan
x="99.83886"
y="143.43335"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
id="tspan6419-9"> </tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;fill:url(#radialGradient6427);fill-opacity:1;stroke:none"
x="99.410172"
y="67.898323"
id="text6302"
transform="rotate(-8.8996237)"><tspan
id="tspan6304"
x="99.410172"
y="67.898323"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1">01011001</tspan>
<tspan
x="99.410172"
y="92.647987"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
id="tspan6415">00110101</tspan>
<tspan
x="99.410172"
y="117.39765"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
id="tspan6417">10010011</tspan>
<tspan
x="99.410172"
y="142.14732"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
id="tspan6419"> </tspan></text>
<path <path
style="opacity:0.76521738;fill:url(#linearGradient6614);fill-opacity:1;stroke:none" style="opacity:0.76521738;fill:url(#linearGradient6614);fill-opacity:1;stroke:none"
d="m 219.46318,129.09019 c -26.79401,21.9828 -41.80834,21.0073 -38.07474,13.13797 3.73361,-7.86929 42.32585,-41.65518 51.44717,-43.7482 9.1213,-2.09301 2.27518,18.04121 -13.37243,30.61023 z" d="m 219.46318,129.09019 c -26.79401,21.9828 -41.80834,21.0073 -38.07474,13.13797 3.73361,-7.86929 42.32585,-41.65518 51.44717,-43.7482 9.1213,-2.09301 2.27518,18.04121 -13.37243,30.61023 z"

Before

Width:  |  Height:  |  Size: 162 KiB

After

Width:  |  Height:  |  Size: 157 KiB

View file

@ -3522,66 +3522,7 @@
style="opacity:0.6043478;fill:url(#linearGradient6595);fill-opacity:1;stroke:none" style="opacity:0.6043478;fill:url(#linearGradient6595);fill-opacity:1;stroke:none"
d="M 131.1683,37.049946 C 171.82694,4.876587 209.3036,24.322024 208.95005,42.353247 C 208.5965,60.38447 152.38151,112.71037 132.58252,108.46773 C 112.78353,104.22509 107.12667,55.081169 131.1683,37.049946 z" d="M 131.1683,37.049946 C 171.82694,4.876587 209.3036,24.322024 208.95005,42.353247 C 208.5965,60.38447 152.38151,112.71037 132.58252,108.46773 C 112.78353,104.22509 107.12667,55.081169 131.1683,37.049946 z"
id="path6587"/> id="path6587"/>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;opacity:0.46086958;fill:url(#radialGradient6482);fill-opacity:1;stroke:none"
x="99.83886"
y="69.184349"
id="text6302-7"
transform="rotate(-8.8996237)"><tspan
sodipodi:role="line"
id="tspan6304-0"
x="99.83886"
y="69.184349"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1">01011001</tspan>
<tspan
sodipodi:role="line"
x="99.83886"
y="93.934013"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
id="tspan6415-7">00110101</tspan>
<tspan
sodipodi:role="line"
x="99.83886"
y="118.68368"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
id="tspan6417-1">10010011</tspan>
<tspan
sodipodi:role="line"
x="99.83886"
y="143.43335"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
id="tspan6419-9"> </tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;fill:url(#radialGradient6427);fill-opacity:1;stroke:none"
x="99.410172"
y="67.898323"
id="text6302"
transform="rotate(-8.8996237)"><tspan
sodipodi:role="line"
id="tspan6304"
x="99.410172"
y="67.898323"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1">01011001</tspan>
<tspan
sodipodi:role="line"
x="99.410172"
y="92.647987"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
id="tspan6415">00110101</tspan>
<tspan
sodipodi:role="line"
x="99.410172"
y="117.39765"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
id="tspan6417">10010011</tspan>
<tspan
sodipodi:role="line"
x="99.410172"
y="142.14732"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
id="tspan6419"> </tspan></text>
<path <path
style="opacity:0.76521738;fill:url(#linearGradient6614);fill-opacity:1;stroke:none" style="opacity:0.76521738;fill:url(#linearGradient6614);fill-opacity:1;stroke:none"
d="M 219.46318,129.09019 C 192.66917,151.07299 177.65484,150.09749 181.38844,142.22816 C 185.12205,134.35887 223.71429,100.57298 232.83561,98.47996 C 241.95691,96.38695 235.11079,116.52117 219.46318,129.09019 z" d="M 219.46318,129.09019 C 192.66917,151.07299 177.65484,150.09749 181.38844,142.22816 C 185.12205,134.35887 223.71429,100.57298 232.83561,98.47996 C 241.95691,96.38695 235.11079,116.52117 219.46318,129.09019 z"

Before

Width:  |  Height:  |  Size: 208 KiB

After

Width:  |  Height:  |  Size: 204 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 168 KiB

After

Width:  |  Height:  |  Size: 164 KiB

View file

@ -1,19 +1,13 @@
{ {
"id": "mapcomplete-changes", "id": "mapcomplete-changes",
"title": { "title": {
"en": "Changes made with MapComplete", "en": "Changes made with MapComplete"
"de": "Änderungen mit MapComplete",
"es": "Cambios hechos con MapComplete"
}, },
"shortDescription": { "shortDescription": {
"en": "Shows changes made by MapComplete", "en": "Shows changes made by MapComplete"
"de": "Zeigt Änderungen von MapComplete",
"es": "Muestra los cambios hechos por MapComplete"
}, },
"description": { "description": {
"en": "This maps shows all the changes made with MapComplete", "en": "This maps shows all the changes made with MapComplete"
"de": "Diese Karte zeigt alle Änderungen die mit MapComplete gemacht wurden",
"es": "Este mapa muestra todos los cambios hechos con MapComplete"
}, },
"maintainer": "", "maintainer": "",
"icon": "./assets/svg/logo.svg", "icon": "./assets/svg/logo.svg",
@ -28,9 +22,7 @@
{ {
"id": "mapcomplete-changes", "id": "mapcomplete-changes",
"name": { "name": {
"en": "Changeset centers", "en": "Changeset centers"
"de": "Schwerpunkte von Änderungssätzen",
"es": "Centros de conjuntos de cambios"
}, },
"minzoom": 0, "minzoom": 0,
"source": { "source": {
@ -44,45 +36,35 @@
], ],
"title": { "title": {
"render": { "render": {
"en": "Changeset for {theme}", "en": "Changeset for {theme}"
"de": "Änderungen für {theme}",
"es": "Conjunto de cambios para {theme}"
} }
}, },
"description": { "description": {
"en": "Shows all MapComplete changes", "en": "Shows all MapComplete changes"
"de": "Zeigt alle MapComplete Änderungen",
"es": "Muestra todos los cambios de MapComplete"
}, },
"tagRenderings": [ "tagRenderings": [
{ {
"id": "render_id", "id": "render_id",
"render": { "render": {
"en": "Changeset <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>", "en": "Changeset <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>"
"de": "Änderung <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>",
"es": "Conjunto de cambios <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>"
} }
}, },
{ {
"id": "contributor", "id": "contributor",
"render": { "render": {
"en": "Change made by <a href='https://openstreetmap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a>", "en": "Change made by <a href='https://openstreetmap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a>"
"de": "Änderung wurde von <a href='https://openstreetmap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a> gemacht",
"es": "Cambio hecho por <a href='https://openstreetmap.org/user/{_last_edit:contributor}' target='_blank'>{_last_edit:contributor}</a>"
} }
}, },
{ {
"id": "theme", "id": "theme",
"render": { "render": {
"en": "Change with theme <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>", "en": "Change with theme <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>"
"de": "Änderung mit Thema <a href='https://mapcomplete.osm.be/{theme}'>{theme}</a>"
}, },
"mappings": [ "mappings": [
{ {
"if": "theme~http.*", "if": "theme~http.*",
"then": { "then": {
"en": "Change with <b>unofficial</b> theme <a href='https://mapcomplete.osm.be/theme.html?userlayout={theme}'>{theme}</a>", "en": "Change with <b>unofficial</b> theme <a href='https://mapcomplete.osm.be/theme.html?userlayout={theme}'>{theme}</a>"
"de": "Änderung mit <b>inoffiziellem</b> Thema <a href='https://mapcomplete.osm.be/theme.html?userlayout={theme}'>{theme}</a>"
} }
} }
] ]
@ -350,8 +332,7 @@
} }
], ],
"question": { "question": {
"en": "Themename contains {search}", "en": "Themename contains {search}"
"de": "Themenname enthält {search}"
} }
} }
] ]
@ -367,9 +348,7 @@
} }
], ],
"question": { "question": {
"en": "Made by contributor {search}", "en": "Made by contributor {search}"
"de": "Erstellt von {search}",
"es": "Hecho por contributor/a {search}"
} }
} }
] ]
@ -385,9 +364,7 @@
} }
], ],
"question": { "question": {
"en": "<b>Not</b> made by contributor {search}", "en": "<b>Not</b> made by contributor {search}"
"de": "<b>Nicht</b> erstellt von {search}",
"es": "<b>No</b> hecho por contributor/a {search}"
} }
} }
] ]
@ -402,9 +379,7 @@
{ {
"id": "link_to_more", "id": "link_to_more",
"render": { "render": {
"en": "More statistics can be found <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>here</a>", "en": "More statistics can be found <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>here</a>"
"de": "Weitere Statistiken finden Sie <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>hier</a>",
"es": "Se pueden encontrar más estadísticas <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>aquí</a>"
} }
}, },
{ {

View file

@ -2555,58 +2555,6 @@
id="path6587" id="path6587"
d="M 131.1683,37.049946 C 171.82694,4.876587 209.3036,24.322024 208.95005,42.353247 208.5965,60.38447 152.38151,112.71037 132.58252,108.46773 112.78353,104.22509 107.12667,55.081169 131.1683,37.049946 Z" d="M 131.1683,37.049946 C 171.82694,4.876587 209.3036,24.322024 208.95005,42.353247 208.5965,60.38447 152.38151,112.71037 132.58252,108.46773 112.78353,104.22509 107.12667,55.081169 131.1683,37.049946 Z"
style="opacity:0.6043478;fill:url(#linearGradient6595);fill-opacity:1;stroke:none"/> style="opacity:0.6043478;fill:url(#linearGradient6595);fill-opacity:1;stroke:none"/>
<text
transform="rotate(-8.8996237)"
id="text6302-7"
y="69.184349"
x="99.83886"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;opacity:0.46086958;fill:url(#radialGradient6482);fill-opacity:1;stroke:none"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
y="69.184349"
x="99.83886"
id="tspan6304-0">01011001</tspan>
<tspan
id="tspan6415-7"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
y="93.934013"
x="99.83886">00110101</tspan>
<tspan
id="tspan6417-1"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
y="118.68368"
x="99.83886">10010011</tspan>
<tspan
id="tspan6419-9"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6482);fill-opacity:1"
y="143.43335"
x="99.83886"> </tspan></text>
<text
transform="rotate(-8.8996237)"
id="text6302"
y="67.898323"
x="99.410172"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:0%;font-family:sans-serif;-inkscape-font-specification:Sans;fill:url(#radialGradient6427);fill-opacity:1;stroke:none"
xml:space="preserve"><tspan
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
y="67.898323"
x="99.410172"
id="tspan6304">01011001</tspan>
<tspan
id="tspan6415"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
y="92.647987"
x="99.410172">00110101</tspan>
<tspan
id="tspan6417"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
y="117.39765"
x="99.410172">10010011</tspan>
<tspan
id="tspan6419"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:19.79973221px;line-height:1.25;font-family:monospace;-inkscape-font-specification:'Monospace Bold';fill:url(#radialGradient6427);fill-opacity:1"
y="142.14732"
x="99.410172"> </tspan></text>
<path <path
id="path6587-7" id="path6587-7"
d="m 219.46318,129.09019 c -26.79401,21.9828 -41.80834,21.0073 -38.07474,13.13797 3.73361,-7.86929 42.32585,-41.65518 51.44717,-43.7482 9.1213,-2.09301 2.27518,18.04121 -13.37243,30.61023 z" d="m 219.46318,129.09019 c -26.79401,21.9828 -41.80834,21.0073 -38.07474,13.13797 3.73361,-7.86929 42.32585,-41.65518 51.44717,-43.7482 9.1213,-2.09301 2.27518,18.04121 -13.37243,30.61023 z"

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 132 KiB

View file

@ -121,17 +121,21 @@ class LayerOverviewUtils {
continue continue
} }
const contents = readFileSync(path, "UTF8") const contents = readFileSync(path, "UTF8")
if (contents.indexOf("data:image/png;") < 0) { if (contents.indexOf("data:image/png;") >= 0) {
continue;
}
console.warn("The SVG at " + path + " is a fake SVG: it contains PNG data!") console.warn("The SVG at " + path + " is a fake SVG: it contains PNG data!")
errCount++; errCount++;
if (path.startsWith("./assets/svg")) { if (path.startsWith("./assets/svg")) {
throw "A core SVG is actually a PNG. Don't do this!" throw "A core SVG is actually a PNG. Don't do this!"
} }
} }
if(contents.indexOf("<text")>0){
console.warn("The SVG at " + path + " contains a `text`-tag. This is highly discouraged. Every machine viewing your theme has their own font libary, and the font you choose might not be present, resulting in a different font being rendered. Solution: open your .svg in inkscape (or another program), select the text and convert it to a path")
errCount++;
}
}
if (errCount > 0) { if (errCount > 0) {
throw `There are ${errCount} fake svgs` throw `There are ${errCount} invalid svgs`
} }
} }