Open JoKalliauer opened 6 years ago
Prozessing File:Dzia%C5%82anie_d%C5%82awika_przeciwzwarciowego_1.svg with
$svgcleaner Dzia%C5%82anie_d%C5%82awika_przeciwzwarciowego_1.svg output.svg --allow-bigger-file --indent 1 --multipass
leads to remove of the text if called twice or with --multipass: input.svg.txt
--multipass
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg color-interpolation-filters="sRGB" fill="none" fill-rule="evenodd" font-size="12" height="34.98" preserveAspectRatio="none" stroke-linecap="square" stroke-miterlimit="3" viewBox="0,0,655.36,122.6" width="186.97" xmlns="http://www.w3.org/2000/svg"> <g fill="#000" font-family="Symbol" font-weight="400" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"> <text font-size="507" transform="matrix(.1095 0 0 .1098 468.88 101.89)" x="0,128"> </text> <text font-size="507" transform="matrix(.1095 0 0 .1098 634.44 101.89)" x="0,128"> </text> <g font-size="384"> <text transform="matrix(.1095 0 0 .1098 545.64 102.11)" x="0,210"> </text> <text transform="matrix(.1095 0 0 .1098 382.05 66.76)" x="0,210"> </text> <text transform="matrix(.1095 0 0 .1098 57.05 66.76)" x="0,210"> </text> </g> </g> </svg>
calling only once: first.svg.txt
<svg height="34.98" preserveAspectRatio="none" style="color-interpolation-filters:sRGB;fill:none;fill-rule:evenodd;font-size:12;stroke-linecap:square;stroke-miterlimit:3" viewBox="0 0 655.36 122.6" width="186.97" xmlns="http://www.w3.org/2000/svg"> <g style="fill:#000;font-family:Symbol;font-weight:400;stroke-linecap:round;stroke-linejoin:round;stroke-width:16"> <text font-size="507" transform="matrix(.1095 0 0 .1098 468.88 101.89)" x="0 128"></text> <text font-size="507" transform="matrix(.1095 0 0 .1098 634.44 101.89)" x="0 128"></text> <g font-size="384"> <text transform="matrix(.1095 0 0 .1098 545.64 102.11)" x="0 210"></text> <text transform="matrix(.1095 0 0 .1098 382.05 66.76)" x="0 210"></text> <text transform="matrix(.1095 0 0 .1098 57.05 66.76)" x="0 210"></text> </g> </g> </svg>
calling it twice: multipass.svg.txt
<svg color-interpolation-filters="sRGB" fill="none" fill-rule="evenodd" height="34.98" preserveAspectRatio="none" stroke-linecap="square" stroke-miterlimit="3" viewBox="0 0 655.36 122.6" width="186.97" xmlns="http://www.w3.org/2000/svg"> <g fill="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"> <text transform="matrix(.1095 0 0 .1098 468.88 101.89)" x="0 128"/> <text transform="matrix(.1095 0 0 .1098 634.44 101.89)" x="0 128"/> <text transform="matrix(.1095 0 0 .1098 545.64 102.11)" x="0 210"/> <text transform="matrix(.1095 0 0 .1098 382.05 66.76)" x="0 210"/> <text transform="matrix(.1095 0 0 .1098 57.05 66.76)" x="0 210"/> </g> </svg>
(empty)
Prozessing File:Dzia%C5%82anie_d%C5%82awika_przeciwzwarciowego_1.svg with
leads to remove of the text if called twice or with
--multipass
: input.svg.txtcalling only once: first.svg.txt
calling it twice: multipass.svg.txt
(empty)