🐛 Fixes broken SVGs (#424)

Sorry for the bigger file sizes now, but all SVG compression methods I have tried have resulted into broken SVGs :(
This commit is contained in:
Bjorn Lammers
2023-06-07 14:02:28 +02:00
committed by GitHub
parent 278777a0cf
commit 59fb4c9e10
776 changed files with 60774 additions and 776 deletions

View File

@@ -1 +1,86 @@
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="682.667" height="682.667"><defs><linearGradient id="a" x1="0" x2="1" y1="0" y2="0" gradientTransform="scale(-6205.44 6205.44) rotate(45 -.454 -.895)" gradientUnits="userSpaceOnUse" spreadMethod="pad"><stop offset="0" style="stop-opacity:1;stop-color:#004caf"/><stop offset="1" style="stop-opacity:1;stop-color:#1f95f8"/></linearGradient></defs><g clip-path="url(#clipPath20)" transform="matrix(.13333 0 0 -.13333 0 682.667)"><path d="M3873.89 0H1246.11C560.754 0 0 560.75 0 1246.11v2627.77C0 4559.25 560.754 5120 1246.11 5120h2627.78C4559.25 5120 5120 4559.25 5120 3873.88V1246.11C5120 560.75 4559.25 0 3873.89 0" style="fill:url(#a);fill-opacity:1;fill-rule:nonzero;stroke:none"/></g><path d="M3961.59 4435.23H2570.18c-13.15 0-23.78-10.64-23.78-23.77v-441.84c0-14.87 12.04-26.92 26.92-26.92h190.77c77.16 0 139.73-59.35 146.43-134.77V1717.36h-.05c.48-16.84-.19-33.4-1.83-49.71-.18-2.38-.5-4.73-.79-7.09-1.1-9.53-2.32-19.01-4.17-28.29-1.01-5.29-2.44-10.44-3.71-15.65-1.71-6.93-3.09-13.97-5.22-20.75-12.58-40.27-32.47-77.62-59.98-110.5-1.01-1.17-2.26-2.25-3.26-3.41-8.39-9.72-17.2-19.19-26.95-28.06-9.84-8.95-20.26-17.27-31.21-25-77.84-55.14-182.61-79.4-299.67-68.2-149.26 14.03-297.34 81.72-417.03 190.62-119.67 108.89-194.08 243.62-209.48 379.41-13.85 121.48 22.55 228.38 102.42 301.05.21.16.4.31.56.48 3.09 2.77 6.49 5.2 9.67 7.87 57.16 47.89 131.67 76.91 216.7 84.91.96.09 1.88.24 2.79.32 8.95.79 18.07 1.15 27.27 1.49 4.81.16 9.56.5 14.44.54 1.62.02 3.16.19 4.78.19 2.9 0 5.91-.38 8.81-.42 13.4-.21 26.9-.76 40.67-1.94 1.74-.14 3.4-.08 5.19-.24 1.27-.13 2.53-.41 3.8-.54 78-7.82 155.23-31.11 228.52-66.4 1.53-.07 3.3-.54 5.51-1.76 22.34-12.34 26.62.9 27.28 9.65v665.06c0 19.05-13.25 35.9-31.83 39.99-394.76 86.88-782.08-3.55-1055.38-252.34-238.75-217.18-354.24-530.58-316.82-859.79 33.39-293.23 183.91-574.94 423.88-793.33 233.89-212.79 531.69-345.86 838.88-374.801 42.33-3.918 84.86-5.938 126.36-5.938 293.38 0 565.61 100.598 766.54 283.379 190.34 173.3 304.35 411.27 321.08 670.16l1.55 1697.91h.17v453.97h.06v7.92c1.72 80.12 67.05 144.58 147.61 144.58h190.77c14.86 0 26.92 12.05 26.92 26.92v441.84c0 13.13-10.63 23.77-23.78 23.77" style="fill:#fff;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(.13333 0 0 -.13333 0 682.667)"/></svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
sodipodi:docname="joplin-logo.svg"
version="1.1"
id="svg2"
xml:space="preserve"
width="682.66669"
height="682.66669"
viewBox="0 0 682.66669 682.66669"><title
id="title842">Joplin Icon</title><metadata
id="metadata15"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title>Joplin Icon</dc:title><cc:license
rdf:resource="MIT -- https://github.com/laurent22/joplin/blob/master/LICENSE" /><dc:creator><cc:Agent><dc:title>Laurent Cozic</dc:title></cc:Agent></dc:creator></cc:Work></rdf:RDF></metadata><sodipodi:namedview
inkscape:current-layer="svg2"
inkscape:window-maximized="1"
inkscape:window-y="516"
inkscape:window-x="0"
inkscape:cy="341.33334"
inkscape:cx="341.33334"
inkscape:zoom="1.4765625"
showgrid="false"
id="namedview13"
inkscape:window-height="1367"
inkscape:window-width="2560"
inkscape:pageshadow="2"
inkscape:pageopacity="0"
guidetolerance="10"
gridtolerance="10"
objecttolerance="10"
borderopacity="1"
bordercolor="#666666"
pagecolor="#ffffff" />
<defs
id="defs6">
<linearGradient
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-4387.91,4387.91,4387.91,4387.91,4753.95,366.05)"
spreadMethod="pad"
id="linearGradient26">
<stop
style="stop-opacity:1;stop-color:#004caf"
offset="0"
id="stop22" />
<stop
style="stop-opacity:1;stop-color:#1f95f8"
offset="1"
id="stop24" />
</linearGradient>
</defs>
<g
id="g10"
transform="matrix(1.3333333,0,0,-1.3333333,0,682.66667)">
<g
id="g12"
transform="scale(0.1)">
<g
id="g14">
<g
id="g16"
clip-path="url(#clipPath20)">
<path
d="M 3873.89,0 H 1246.11 C 560.754,0 0,560.75 0,1246.11 V 3873.88 C 0,4559.25 560.754,5120 1246.11,5120 H 3873.89 C 4559.25,5120 5120,4559.25 5120,3873.88 V 1246.11 C 5120,560.75 4559.25,0 3873.89,0"
style="fill:url(#linearGradient26);fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path28" />
</g>
</g>
<path
d="M 3961.59,4435.23 H 2570.18 c -13.15,0 -23.78,-10.64 -23.78,-23.77 v -441.84 c 0,-14.87 12.04,-26.92 26.92,-26.92 h 190.77 c 77.16,0 139.73,-59.35 146.43,-134.77 V 3505 3336.23 1728.75 1717.36 h -0.05 c 0.48,-16.84 -0.19,-33.4 -1.83,-49.71 -0.18,-2.38 -0.5,-4.73 -0.79,-7.09 -1.1,-9.53 -2.32,-19.01 -4.17,-28.29 -1.01,-5.29 -2.44,-10.44 -3.71,-15.65 -1.71,-6.93 -3.09,-13.97 -5.22,-20.75 -12.58,-40.27 -32.47,-77.62 -59.98,-110.5 -1.01,-1.17 -2.26,-2.25 -3.26,-3.41 -8.39,-9.72 -17.2,-19.19 -26.95,-28.06 -9.84,-8.95 -20.26,-17.27 -31.21,-25 -77.84,-55.14 -182.61,-79.4 -299.67,-68.2 -149.26,14.03 -297.34,81.72 -417.03,190.62 -119.67,108.89 -194.08,243.62 -209.48,379.41 -13.85,121.48 22.55,228.38 102.42,301.05 0.21,0.16 0.4,0.31 0.56,0.48 3.09,2.77 6.49,5.2 9.67,7.87 57.16,47.89 131.67,76.91 216.7,84.91 0.96,0.09 1.88,0.24 2.79,0.32 8.95,0.79 18.07,1.15 27.27,1.49 4.81,0.16 9.56,0.5 14.44,0.54 1.62,0.02 3.16,0.19 4.78,0.19 2.9,0 5.91,-0.38 8.81,-0.42 13.4,-0.21 26.9,-0.76 40.67,-1.94 1.74,-0.14 3.4,-0.08 5.19,-0.24 1.27,-0.13 2.53,-0.41 3.8,-0.54 78,-7.82 155.23,-31.11 228.52,-66.4 1.53,-0.07 3.3,-0.54 5.51,-1.76 22.34,-12.34 26.62,0.9 27.28,9.65 v 382.24 282.82 c 0,19.05 -13.25,35.9 -31.83,39.99 -394.76,86.88 -782.08,-3.55 -1055.38,-252.34 -238.75,-217.18 -354.24,-530.58 -316.82,-859.79 33.39,-293.23 183.91,-574.94 423.88,-793.33 233.89,-212.79 531.69,-345.86 838.88,-374.801 42.33,-3.918 84.86,-5.938 126.36,-5.938 293.38,0 565.61,100.598 766.54,283.379 190.34,173.3 304.35,411.27 321.08,670.16 l 1.55,1697.91 h 0.17 v 453.97 h 0.06 v 7.92 c 1.72,80.12 67.05,144.58 147.61,144.58 h 190.77 c 14.86,0 26.92,12.05 26.92,26.92 v 441.84 c 0,13.13 -10.63,23.77 -23.78,23.77"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path30" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB