jakearchibald / svgomg

Web GUI for SVGO
https://jakearchibald.github.io/svgomg/
MIT License
5.76k stars 476 forks source link

Can't compare with original version anymore (zoom-levels inconsistent) #443

Open ndorfin opened 2 months ago

ndorfin commented 2 months ago

Hey @jakearchibald

In the past I could switch to the original version of the SVG to do a quick visual comparison of the changes. The previous versions of SVGOMG would zoom-lock the two versions so that you'd always compare like-to-like.

This seemed to have broken recenty.

I have SVGOMG installed as a 'Chrome App' on macOS 14.5.

Here's how it would break for me…

As I'd start the app, and paste the markup of the SVG, I'd see the new version (with my default settings) loaded at initial zoom:

Screenshot 2024-06-14 at 2 50 32 PM

I'd then zoom in on the new version to check for any undesired changes…

Zoomed in new version

When I switch back to the Original version, it would (frustratingly) be set at the initial zoom

Original version still at default zoom

This breaks the 1:1 zoom functionality that would be super useful, flipping between original and not while panning the SVG around. :(

If I later try zoom into the original version to try match the two zoom levels…

Original version now zoomed in

And switch back to the new version, the new version would be zoomed in even further:

New version is too far zoomed in

It's not a deal-breaker, but it would be nice to have the confidence that the SVG output is good.

Cheers, -Shaun

jakearchibald commented 2 months ago

I'm guessing a change to the width/height/viewbox is causing the size change? Disable that plugin?

ndorfin commented 2 months ago

I'm not using an plugins, but the viewBox was clipping content: viewBox="100 100 800 300"

Here's the final output SVG: https://github.com/ndorfin/vanilla-web-assets/blob/main/src/img/logo_vanilla.svg?short_path=831c0c4#L1C40-L1C66

jakearchibald commented 2 months ago

I'm not using an plugins

Sorry, I wasn't clear. All the settings on the right are technically SVGO plugins.

Can you give me the original SVG?

ndorfin commented 2 months ago

Sure, here's the original:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 1000 500" version="1.1" xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/"
    style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
    <g transform="matrix(1,0,0,1,0,-2061.58)">
        <g id="Vanilla-logo" serif:id="Vanilla logo" transform="matrix(1.25,0,0,1.25,0,2061.58)">
            <g transform="matrix(1.35662,2.46519e-32,-2.46519e-32,1.35662,-171.061,-203.142)">
                <g id="Logo-superior-internet" serif:id="Logo superior internet">
                    <g id="Logo-type" serif:id="Logo type">
                        <g>
                            <g transform="matrix(1,0,0,1,286.421,305.075)">
                                <path
                                    d="M0,-57.727L-14.18,-57.727L-28.361,-19.41L-42.541,-57.727L-57.023,-57.727L-36.406,0L-20.717,0L0,-57.727Z"
                                    style="fill:rgb(35,31,32);" />
                            </g>
                            <g transform="matrix(1,0,0,1,343.232,247.348)">
                                <path
                                    d="M0,57.727L-20.717,0L-34.194,0L-54.811,57.727L-40.429,57.727L-36.406,45.86L-18.002,45.86L-14.08,57.727L0,57.727ZM-21.22,36.105L-33.289,36.105L-27.254,17.901L-21.22,36.105Z"
                                    style="fill:rgb(35,31,32);" />
                            </g>
                            <g transform="matrix(1,0,0,1,404.983,247.348)">
                                <path
                                    d="M0,57.727L0,0L-13.074,0L-13.074,32.886L-34.194,0L-50.788,0L-50.788,57.727L-37.714,57.727L-37.714,18.102L-13.175,57.727L0,57.727Z"
                                    style="fill:rgb(35,31,32);" />
                            </g>
                            <g transform="matrix(-1,0,0,1,861.056,-42.857)">
                                <rect x="424.393" y="290.205" width="12.27" height="57.727"
                                    style="fill:rgb(35,31,32);" />
                            </g>
                            <g transform="matrix(1,0,0,1,495.072,247.348)">
                                <path d="M0,57.727L0,46.162L-27.959,46.162L-27.959,0L-40.832,0L-40.832,57.727L0,57.727Z"
                                    style="fill:rgb(35,31,32);" />
                            </g>
                            <g transform="matrix(1,0,0,1,548.452,247.348)">
                                <path d="M0,57.727L0,46.162L-27.958,46.162L-27.958,0L-40.831,0L-40.831,57.727L0,57.727Z"
                                    style="fill:rgb(35,31,32);" />
                            </g>
                            <g transform="matrix(1,0,0,1,612.492,247.348)">
                                <path
                                    d="M0,57.727L-20.717,0L-34.194,0L-54.811,57.727L-40.429,57.727L-36.406,45.86L-18.002,45.86L-14.08,57.727L0,57.727ZM-21.22,36.105L-33.289,36.105L-27.255,17.901L-21.22,36.105Z"
                                    style="fill:rgb(35,31,32);" />
                            </g>
                        </g>
                        <g transform="matrix(0.227265,2.33578e-33,7.8856e-33,0.255749,-867.552,-73.143)">
                            <path
                                d="M4966.77,1622.53C4961.88,1622.53 4957.86,1621.92 4954.73,1620.69C4951.59,1619.45 4949.1,1617.93 4947.27,1616.12C4945.43,1614.31 4944.11,1612.5 4943.29,1610.69C4942.48,1608.88 4941.94,1607.36 4941.7,1606.12C4941.46,1604.89 4941.33,1604.28 4941.33,1604.28L4950.75,1604.28C4950.75,1604.28 4950.87,1604.84 4951.12,1605.96C4951.36,1607.08 4951.99,1608.39 4953.01,1609.87C4954.03,1611.36 4955.64,1612.66 4957.84,1613.79C4960.05,1614.91 4963.06,1615.47 4966.89,1615.47C4971.05,1615.47 4974.36,1614.53 4976.8,1612.64C4979.25,1610.76 4980.47,1608.44 4980.47,1605.69C4980.47,1603.08 4979.47,1601.05 4977.47,1599.6C4975.48,1598.15 4972.81,1597.1 4969.46,1596.45L4960.9,1594.71C4957.64,1593.99 4954.66,1593.01 4951.97,1591.78C4949.28,1590.55 4947.12,1588.9 4945.49,1586.83C4943.86,1584.77 4943.05,1582.21 4943.05,1579.17C4943.05,1574.32 4945.04,1570.37 4949.04,1567.33C4953.03,1564.28 4958.25,1562.76 4964.69,1562.76C4969.01,1562.76 4972.58,1563.32 4975.39,1564.45C4978.21,1565.57 4980.45,1566.96 4982.12,1568.63C4983.79,1570.3 4985.02,1571.94 4985.79,1573.58C4986.56,1575.2 4987.07,1576.58 4987.32,1577.7C4987.56,1578.83 4987.69,1579.39 4987.69,1579.39L4978.76,1579.39C4978.76,1579.39 4978.61,1578.9 4978.33,1577.92C4978.04,1576.94 4977.47,1575.82 4976.62,1574.55C4975.76,1573.29 4974.38,1572.16 4972.46,1571.18C4970.54,1570.2 4967.95,1569.72 4964.69,1569.72C4960.45,1569.72 4957.29,1570.62 4955.22,1572.43C4953.14,1574.25 4952.1,1576.31 4952.1,1578.63C4952.1,1580.87 4953.01,1582.65 4954.85,1583.95C4956.68,1585.26 4959.19,1586.24 4962.37,1586.89L4971.05,1588.74C4976.52,1589.89 4980.96,1591.8 4984.38,1594.44C4987.81,1597.09 4989.52,1600.73 4989.52,1605.36C4989.52,1608.48 4988.6,1611.34 4986.77,1613.95C4984.93,1616.56 4982.32,1618.64 4978.94,1620.2C4975.56,1621.76 4971.5,1622.53 4966.77,1622.53Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M5031.1,1622.53C5024.66,1622.53 5019.52,1620.69 5015.69,1616.99C5011.86,1613.3 5009.94,1608.15 5009.94,1601.56L5009.94,1563.85L5019.12,1563.85L5019.12,1601.23C5019.12,1605.73 5020.38,1609.2 5022.91,1611.67C5025.44,1614.13 5028.9,1615.36 5033.3,1615.36C5037.62,1615.36 5041.09,1614.33 5043.7,1612.26C5046.31,1610.2 5048.2,1607.59 5049.39,1604.44C5050.57,1601.29 5051.16,1598.01 5051.16,1594.6L5051.16,1563.85L5060.33,1563.85L5060.33,1621.45L5051.16,1621.45L5051.16,1611.99L5050.55,1611.99C5049.98,1613.01 5048.96,1614.37 5047.49,1616.07C5046.02,1617.77 5043.98,1619.27 5041.38,1620.58C5038.77,1621.88 5035.34,1622.53 5031.1,1622.53Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M5084.55,1642.75L5084.55,1563.85L5093.72,1563.85L5093.72,1574.17L5094.33,1574.17C5095.23,1572.8 5096.55,1571.22 5098.31,1569.44C5100.06,1567.67 5102.4,1566.11 5105.34,1564.77C5108.27,1563.43 5111.98,1562.76 5116.47,1562.76C5121.36,1562.76 5125.64,1563.61 5129.31,1565.32C5132.98,1567.02 5136.02,1569.3 5138.42,1572.16C5140.82,1575.02 5142.64,1578.23 5143.86,1581.78C5145.09,1585.33 5145.7,1588.95 5145.7,1592.65C5145.7,1596.34 5145.09,1599.97 5143.86,1603.52C5142.64,1607.07 5140.82,1610.27 5138.42,1613.13C5136.02,1616 5132.98,1618.28 5129.31,1619.98C5125.64,1621.68 5121.36,1622.53 5116.47,1622.53C5111.98,1622.53 5108.27,1621.86 5105.34,1620.52C5102.4,1619.18 5100.06,1617.61 5098.31,1615.8C5096.55,1613.99 5095.23,1612.43 5094.33,1611.12L5093.72,1611.12L5093.72,1642.75L5084.55,1642.75ZM5093.84,1592.65C5093.84,1596.41 5094.62,1600.04 5096.16,1603.52C5097.71,1606.99 5100.08,1609.86 5103.26,1612.1C5106.44,1614.35 5110.39,1615.47 5115.12,1615.47C5119.93,1615.47 5123.91,1614.35 5127.05,1612.1C5130.19,1609.86 5132.55,1606.99 5134.14,1603.52C5135.73,1600.04 5136.52,1596.41 5136.52,1592.65C5136.52,1588.88 5135.73,1585.26 5134.14,1581.78C5132.55,1578.3 5130.19,1575.44 5127.05,1573.19C5123.91,1570.95 5119.93,1569.83 5115.12,1569.83C5110.39,1569.83 5106.44,1570.95 5103.26,1573.19C5100.08,1575.44 5097.71,1578.3 5096.16,1581.78C5094.62,1585.26 5093.84,1588.88 5093.84,1592.65Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M5195.6,1622.53C5190.38,1622.53 5185.85,1621.68 5182.02,1619.98C5178.19,1618.28 5175.05,1615.98 5172.6,1613.08C5170.16,1610.18 5168.34,1606.96 5167.16,1603.41C5165.98,1599.86 5165.39,1596.27 5165.39,1592.65C5165.39,1589.03 5165.98,1585.44 5167.16,1581.89C5168.34,1578.34 5170.16,1575.11 5172.6,1572.22C5175.05,1569.32 5178.13,1567.02 5181.84,1565.32C5185.55,1563.61 5189.97,1562.76 5195.11,1562.76C5200.49,1562.76 5205.28,1563.88 5209.48,1566.13C5213.68,1568.38 5216.98,1571.69 5219.38,1576.07C5221.79,1580.46 5222.99,1585.95 5222.99,1592.54L5222.99,1594.93L5174.68,1594.93C5174.85,1598.62 5175.76,1602.03 5177.43,1605.15C5179.11,1608.26 5181.47,1610.76 5184.53,1612.64C5187.58,1614.53 5191.27,1615.47 5195.6,1615.47C5199.18,1615.47 5202.16,1614.91 5204.52,1613.79C5206.89,1612.66 5208.7,1611.36 5209.97,1609.87C5211.23,1608.39 5212.13,1607.1 5212.66,1606.02C5213.19,1604.93 5213.45,1604.38 5213.45,1604.38L5222.13,1604.38C5222.13,1604.38 5221.93,1604.98 5221.52,1606.18C5221.11,1607.37 5220.38,1608.88 5219.32,1610.69C5218.26,1612.5 5216.73,1614.31 5214.73,1616.12C5212.74,1617.93 5210.19,1619.45 5207.09,1620.69C5203.99,1621.92 5200.16,1622.53 5195.6,1622.53ZM5174.8,1588.41L5213.82,1588.41C5213.57,1583.99 5212.57,1580.42 5210.82,1577.7C5209.07,1574.99 5206.81,1573.01 5204.03,1571.78C5201.26,1570.55 5198.28,1569.93 5195.11,1569.93C5189.32,1569.93 5184.63,1571.62 5181.04,1574.99C5177.45,1578.36 5175.38,1582.83 5174.8,1588.41Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M5244.52,1621.45L5244.52,1563.85L5253.69,1563.85L5253.69,1571.35L5254.18,1571.35C5255.48,1569.03 5257.48,1567.02 5260.17,1565.32C5262.86,1563.61 5266.61,1562.76 5271.42,1562.76C5272.97,1562.76 5274.34,1562.83 5275.52,1562.98C5276.7,1563.12 5277.29,1563.2 5277.29,1563.2L5277.29,1571.02C5277.29,1571.02 5276.64,1570.95 5275.33,1570.8C5274.03,1570.66 5272.64,1570.59 5271.18,1570.59C5267.83,1570.59 5264.84,1571.18 5262.19,1572.38C5259.54,1573.58 5257.46,1575.6 5255.95,1578.47C5254.44,1581.33 5253.69,1585.22 5253.69,1590.15L5253.69,1621.45L5244.52,1621.45Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M5304.81,1552.76C5302.93,1552.76 5301.38,1552.18 5300.16,1551.02C5298.94,1549.86 5298.33,1548.52 5298.33,1547C5298.33,1545.41 5298.94,1544.05 5300.16,1542.93C5301.38,1541.8 5302.93,1541.24 5304.81,1541.24C5306.6,1541.24 5308.13,1541.8 5309.4,1542.93C5310.66,1544.05 5311.29,1545.41 5311.29,1547C5311.29,1548.6 5310.66,1549.95 5309.4,1551.08C5308.13,1552.2 5306.6,1552.76 5304.81,1552.76ZM5300.28,1621.45L5300.28,1563.85L5309.46,1563.85L5309.46,1621.45L5300.28,1621.45Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M5363.64,1622.53C5358.5,1622.53 5353.99,1621.7 5350.12,1620.04C5346.25,1618.37 5342.99,1616.12 5340.34,1613.3C5337.69,1610.47 5335.71,1607.27 5334.4,1603.68C5333.1,1600.09 5332.45,1596.41 5332.45,1592.65C5332.45,1588.81 5333.1,1585.11 5334.4,1581.56C5335.71,1578.01 5337.69,1574.82 5340.34,1572C5342.99,1569.17 5346.25,1566.93 5350.12,1565.26C5353.99,1563.59 5358.5,1562.76 5363.64,1562.76C5368.77,1562.76 5373.3,1563.59 5377.21,1565.26C5381.12,1566.93 5384.39,1569.17 5386.99,1572C5389.6,1574.82 5391.58,1578.01 5392.93,1581.56C5394.27,1585.11 5394.94,1588.81 5394.94,1592.65C5394.94,1596.41 5394.27,1600.09 5392.93,1603.68C5391.58,1607.27 5389.6,1610.47 5386.99,1613.3C5384.39,1616.12 5381.12,1618.37 5377.21,1620.04C5373.3,1621.7 5368.77,1622.53 5363.64,1622.53ZM5363.64,1615.25C5368.44,1615.25 5372.48,1614.17 5375.74,1611.99C5379,1609.82 5381.47,1607.01 5383.14,1603.57C5384.81,1600.13 5385.65,1596.49 5385.65,1592.65C5385.65,1588.81 5384.81,1585.17 5383.14,1581.73C5381.47,1578.28 5379,1575.48 5375.74,1573.3C5372.48,1571.13 5368.44,1570.04 5363.64,1570.04C5358.82,1570.04 5354.79,1571.13 5351.53,1573.3C5348.27,1575.48 5345.82,1578.28 5344.19,1581.73C5342.56,1585.17 5341.74,1588.81 5341.74,1592.65C5341.74,1596.49 5342.56,1600.13 5344.19,1603.57C5345.82,1607.01 5348.27,1609.82 5351.53,1611.99C5354.79,1614.17 5358.82,1615.25 5363.64,1615.25Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M5416.59,1621.45L5416.59,1563.85L5425.76,1563.85L5425.76,1571.35L5426.25,1571.35C5427.56,1569.03 5429.55,1567.02 5432.24,1565.32C5434.94,1563.61 5438.69,1562.76 5443.5,1562.76C5445.05,1562.76 5446.41,1562.83 5447.59,1562.98C5448.78,1563.12 5449.37,1563.2 5449.37,1563.2L5449.37,1571.02C5449.37,1571.02 5448.72,1570.95 5447.41,1570.8C5446.11,1570.66 5444.72,1570.59 5443.25,1570.59C5439.91,1570.59 5436.91,1571.18 5434.26,1572.38C5431.61,1573.58 5429.53,1575.6 5428.03,1578.47C5426.52,1581.33 5425.76,1585.22 5425.76,1590.15L5425.76,1621.45L5416.59,1621.45Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M5475.66,1622.32C5473.7,1622.32 5472.09,1621.72 5470.83,1620.52C5469.57,1619.33 5468.94,1617.9 5468.94,1616.23C5468.94,1614.57 5469.57,1613.15 5470.83,1611.99C5472.09,1610.83 5473.7,1610.25 5475.66,1610.25C5477.62,1610.25 5479.25,1610.83 5480.55,1611.99C5481.86,1613.15 5482.51,1614.57 5482.51,1616.23C5482.51,1617.97 5481.86,1619.42 5480.55,1620.58C5479.25,1621.74 5477.62,1622.32 5475.66,1622.32Z"
                                style="fill-rule:nonzero;" />
                            <path
                                d="M5512.23,1552.76C5510.35,1552.76 5508.81,1552.18 5507.58,1551.02C5506.36,1549.86 5505.75,1548.52 5505.75,1547C5505.75,1545.41 5506.36,1544.05 5507.58,1542.93C5508.81,1541.8 5510.35,1541.24 5512.23,1541.24C5514.02,1541.24 5515.55,1541.8 5516.82,1542.93C5518.08,1544.05 5518.71,1545.41 5518.71,1547C5518.71,1548.6 5518.08,1549.95 5516.82,1551.08C5515.55,1552.2 5514.02,1552.76 5512.23,1552.76ZM5507.7,1621.45L5507.7,1563.85L5516.88,1563.85L5516.88,1621.45L5507.7,1621.45Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M5541.46,1621.45L5541.46,1563.85L5550.63,1563.85L5550.63,1573.41L5551.24,1573.41C5551.81,1572.33 5552.83,1570.93 5554.3,1569.23C5555.77,1567.53 5557.81,1566.02 5560.41,1564.72C5563.02,1563.41 5566.33,1562.76 5570.32,1562.76C5575.13,1562.76 5579.21,1563.74 5582.55,1565.69C5585.89,1567.65 5588.44,1570.3 5590.19,1573.63C5591.95,1576.96 5592.82,1580.73 5592.82,1584.93L5592.82,1621.45L5583.77,1621.45L5583.77,1585.37C5583.77,1580.95 5582.45,1577.27 5579.8,1574.34C5577.15,1571.4 5573.26,1569.93 5568.12,1569.93C5564.04,1569.93 5560.72,1570.88 5558.15,1572.76C5555.58,1574.64 5553.69,1577.07 5552.47,1580.04C5551.24,1583.01 5550.63,1586.05 5550.63,1589.17L5550.63,1621.45L5541.46,1621.45Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M5638.69,1622.53C5632.65,1622.53 5628.09,1621.16 5624.99,1618.4C5621.89,1615.65 5620.34,1611.78 5620.34,1606.78L5620.34,1570.59L5608.6,1570.59L5608.6,1563.85L5620.34,1563.85L5620.34,1549.29L5629.51,1549.29L5629.51,1563.85L5645.54,1563.85L5645.54,1570.59L5629.51,1570.59L5629.51,1606.78C5629.51,1612.57 5633.02,1615.47 5640.03,1615.47C5641.83,1615.47 5643.56,1615.33 5645.23,1615.04C5646.9,1614.75 5647.74,1614.6 5647.74,1614.6L5647.74,1621.56C5647.74,1621.56 5646.82,1621.72 5644.98,1622.05C5643.15,1622.37 5641.05,1622.53 5638.69,1622.53Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M5694.82,1622.53C5689.6,1622.53 5685.08,1621.68 5681.25,1619.98C5677.41,1618.28 5674.28,1615.98 5671.83,1613.08C5669.38,1610.18 5667.57,1606.96 5666.39,1603.41C5665.21,1599.86 5664.61,1596.27 5664.61,1592.65C5664.61,1589.03 5665.21,1585.44 5666.39,1581.89C5667.57,1578.34 5669.38,1575.11 5671.83,1572.22C5674.28,1569.32 5677.35,1567.02 5681.06,1565.32C5684.77,1563.61 5689.2,1562.76 5694.33,1562.76C5699.71,1562.76 5704.51,1563.88 5708.7,1566.13C5712.9,1568.38 5716.2,1571.69 5718.61,1576.07C5721.02,1580.46 5722.22,1585.95 5722.22,1592.54L5722.22,1594.93L5673.91,1594.93C5674.07,1598.62 5674.99,1602.03 5676.66,1605.15C5678.33,1608.26 5680.7,1610.76 5683.75,1612.64C5686.81,1614.53 5690.5,1615.47 5694.82,1615.47C5698.41,1615.47 5701.39,1614.91 5703.75,1613.79C5706.11,1612.66 5707.93,1611.36 5709.19,1609.87C5710.46,1608.39 5711.35,1607.1 5711.88,1606.02C5712.41,1604.93 5712.68,1604.38 5712.68,1604.38L5721.36,1604.38C5721.36,1604.38 5721.16,1604.98 5720.75,1606.18C5720.34,1607.37 5719.61,1608.88 5718.55,1610.69C5717.49,1612.5 5715.96,1614.31 5713.96,1616.12C5711.97,1617.93 5709.42,1619.45 5706.32,1620.69C5703.22,1621.92 5699.39,1622.53 5694.82,1622.53ZM5674.03,1588.41L5713.05,1588.41C5712.8,1583.99 5711.8,1580.42 5710.05,1577.7C5708.3,1574.99 5706.03,1573.01 5703.26,1571.78C5700.49,1570.55 5697.51,1569.93 5694.33,1569.93C5688.54,1569.93 5683.86,1571.62 5680.27,1574.99C5676.68,1578.36 5674.6,1582.83 5674.03,1588.41Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M5743.74,1621.45L5743.74,1563.85L5752.91,1563.85L5752.91,1571.35L5753.4,1571.35C5754.71,1569.03 5756.71,1567.02 5759.4,1565.32C5762.09,1563.61 5765.84,1562.76 5770.65,1562.76C5772.2,1562.76 5773.56,1562.83 5774.74,1562.98C5775.93,1563.12 5776.52,1563.2 5776.52,1563.2L5776.52,1571.02C5776.52,1571.02 5775.87,1570.95 5774.56,1570.8C5773.26,1570.66 5771.87,1570.59 5770.4,1570.59C5767.06,1570.59 5764.07,1571.18 5761.41,1572.38C5758.77,1573.58 5756.69,1575.6 5755.18,1578.47C5753.67,1581.33 5752.91,1585.22 5752.91,1590.15L5752.91,1621.45L5743.74,1621.45Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M5795.6,1621.45L5795.6,1563.85L5804.77,1563.85L5804.77,1573.41L5805.38,1573.41C5805.95,1572.33 5806.97,1570.93 5808.44,1569.23C5809.91,1567.53 5811.94,1566.02 5814.55,1564.72C5817.16,1563.41 5820.47,1562.76 5824.46,1562.76C5829.27,1562.76 5833.35,1563.74 5836.69,1565.69C5840.03,1567.65 5842.58,1570.3 5844.33,1573.63C5846.09,1576.96 5846.96,1580.73 5846.96,1584.93L5846.96,1621.45L5837.91,1621.45L5837.91,1585.37C5837.91,1580.95 5836.59,1577.27 5833.94,1574.34C5831.29,1571.4 5827.4,1569.93 5822.26,1569.93C5818.18,1569.93 5814.86,1570.88 5812.29,1572.76C5809.72,1574.64 5807.83,1577.07 5806.6,1580.04C5805.38,1583.01 5804.77,1586.05 5804.77,1589.17L5804.77,1621.45L5795.6,1621.45Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M5899.06,1622.53C5893.85,1622.53 5889.32,1621.68 5885.49,1619.98C5881.66,1618.28 5878.52,1615.98 5876.07,1613.08C5873.62,1610.18 5871.81,1606.96 5870.63,1603.41C5869.45,1599.86 5868.86,1596.27 5868.86,1592.65C5868.86,1589.03 5869.45,1585.44 5870.63,1581.89C5871.81,1578.34 5873.62,1575.11 5876.07,1572.22C5878.52,1569.32 5881.6,1567.02 5885.3,1565.32C5889.01,1563.61 5893.44,1562.76 5898.57,1562.76C5903.95,1562.76 5908.74,1563.88 5912.94,1566.13C5917.14,1568.38 5920.44,1571.69 5922.85,1576.07C5925.26,1580.46 5926.46,1585.95 5926.46,1592.54L5926.46,1594.93L5878.15,1594.93C5878.31,1598.62 5879.23,1602.03 5880.9,1605.15C5882.57,1608.26 5884.94,1610.76 5887.99,1612.64C5891.05,1614.53 5894.74,1615.47 5899.06,1615.47C5902.65,1615.47 5905.63,1614.91 5907.99,1613.79C5910.36,1612.66 5912.17,1611.36 5913.43,1609.87C5914.7,1608.39 5915.59,1607.1 5916.12,1606.02C5916.65,1604.93 5916.92,1604.38 5916.92,1604.38L5925.6,1604.38C5925.6,1604.38 5925.4,1604.98 5924.99,1606.18C5924.58,1607.37 5923.85,1608.88 5922.79,1610.69C5921.73,1612.5 5920.2,1614.31 5918.2,1616.12C5916.2,1617.93 5913.66,1619.45 5910.56,1620.69C5907.46,1621.92 5903.63,1622.53 5899.06,1622.53ZM5878.27,1588.41L5917.29,1588.41C5917.04,1583.99 5916.04,1580.42 5914.29,1577.7C5912.54,1574.99 5910.27,1573.01 5907.5,1571.78C5904.73,1570.55 5901.75,1569.93 5898.57,1569.93C5892.78,1569.93 5888.1,1571.62 5884.51,1574.99C5880.92,1578.36 5878.84,1582.83 5878.27,1588.41Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M5972.2,1622.53C5966.16,1622.53 5961.6,1621.16 5958.5,1618.4C5955.4,1615.65 5953.85,1611.78 5953.85,1606.78L5953.85,1570.59L5942.11,1570.59L5942.11,1563.85L5953.85,1563.85L5953.85,1549.29L5963.03,1549.29L5963.03,1563.85L5979.05,1563.85L5979.05,1570.59L5963.03,1570.59L5963.03,1606.78C5963.03,1612.57 5966.53,1615.47 5973.54,1615.47C5975.34,1615.47 5977.07,1615.33 5978.74,1615.04C5980.41,1614.75 5981.25,1614.6 5981.25,1614.6L5981.25,1621.56C5981.25,1621.56 5980.33,1621.72 5978.5,1622.05C5976.66,1622.37 5974.56,1622.53 5972.2,1622.53Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M6009.38,1622.32C6007.42,1622.32 6005.81,1621.72 6004.55,1620.52C6003.28,1619.33 6002.65,1617.9 6002.65,1616.23C6002.65,1614.57 6003.28,1613.15 6004.55,1611.99C6005.81,1610.83 6007.42,1610.25 6009.38,1610.25C6011.33,1610.25 6012.97,1610.83 6014.27,1611.99C6015.57,1613.15 6016.23,1614.57 6016.23,1616.23C6016.23,1617.97 6015.57,1619.42 6014.27,1620.58C6012.97,1621.74 6011.33,1622.32 6009.38,1622.32Z"
                                style="fill-rule:nonzero;" />
                            <path
                                d="M6062.09,1622.53C6057.2,1622.53 6053.18,1621.92 6050.04,1620.69C6046.9,1619.45 6044.42,1617.93 6042.58,1616.12C6040.75,1614.31 6039.42,1612.5 6038.61,1610.69C6037.79,1608.88 6037.26,1607.36 6037.02,1606.12C6036.77,1604.89 6036.65,1604.28 6036.65,1604.28L6046.07,1604.28C6046.07,1604.28 6046.19,1604.84 6046.43,1605.96C6046.68,1607.08 6047.31,1608.39 6048.33,1609.87C6049.35,1611.36 6050.96,1612.66 6053.16,1613.79C6055.36,1614.91 6058.38,1615.47 6062.21,1615.47C6066.37,1615.47 6069.67,1614.53 6072.12,1612.64C6074.56,1610.76 6075.79,1608.44 6075.79,1605.69C6075.79,1603.08 6074.79,1601.05 6072.79,1599.6C6070.79,1598.15 6068.12,1597.1 6064.78,1596.45L6056.22,1594.71C6052.96,1593.99 6049.98,1593.01 6047.29,1591.78C6044.6,1590.55 6042.44,1588.9 6040.81,1586.83C6039.18,1584.77 6038.36,1582.21 6038.36,1579.17C6038.36,1574.32 6040.36,1570.37 6044.36,1567.33C6048.35,1564.28 6053.57,1562.76 6060.01,1562.76C6064.33,1562.76 6067.9,1563.32 6070.71,1564.45C6073.52,1565.57 6075.77,1566.96 6077.44,1568.63C6079.11,1570.3 6080.33,1571.94 6081.11,1573.58C6081.88,1575.2 6082.39,1576.58 6082.64,1577.7C6082.88,1578.83 6083,1579.39 6083,1579.39L6074.07,1579.39C6074.07,1579.39 6073.93,1578.9 6073.65,1577.92C6073.36,1576.94 6072.79,1575.82 6071.93,1574.55C6071.08,1573.29 6069.69,1572.16 6067.78,1571.18C6065.86,1570.2 6063.27,1569.72 6060.01,1569.72C6055.77,1569.72 6052.61,1570.62 6050.53,1572.43C6048.45,1574.25 6047.41,1576.31 6047.41,1578.63C6047.41,1580.87 6048.33,1582.65 6050.16,1583.95C6052,1585.26 6054.51,1586.24 6057.69,1586.89L6066.37,1588.74C6071.83,1589.89 6076.28,1591.8 6079.7,1594.44C6083.12,1597.09 6084.84,1600.73 6084.84,1605.36C6084.84,1608.48 6083.92,1611.34 6082.09,1613.95C6080.25,1616.56 6077.64,1618.64 6074.26,1620.2C6070.87,1621.76 6066.82,1622.53 6062.09,1622.53Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M6111.25,1552.76C6109.38,1552.76 6107.83,1552.18 6106.61,1551.02C6105.38,1549.86 6104.77,1548.52 6104.77,1547C6104.77,1545.41 6105.38,1544.05 6106.61,1542.93C6107.83,1541.8 6109.38,1541.24 6111.25,1541.24C6113.05,1541.24 6114.58,1541.8 6115.84,1542.93C6117.1,1544.05 6117.74,1545.41 6117.74,1547C6117.74,1548.6 6117.1,1549.95 6115.84,1551.08C6114.58,1552.2 6113.05,1552.76 6111.25,1552.76ZM6106.73,1621.45L6106.73,1563.85L6115.9,1563.85L6115.9,1621.45L6106.73,1621.45Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M6140.48,1621.45L6140.48,1563.85L6149.65,1563.85L6149.65,1573.19L6150.14,1573.19C6150.8,1571.96 6151.86,1570.53 6153.32,1568.9C6154.79,1567.27 6156.79,1565.84 6159.32,1564.61C6161.84,1563.38 6165.02,1562.76 6168.86,1562.76C6173.75,1562.76 6177.89,1563.87 6181.27,1566.08C6184.65,1568.29 6187.12,1571.31 6188.67,1575.15L6188.79,1575.15C6190.5,1571.89 6193.03,1569.01 6196.37,1566.51C6199.72,1564.01 6204.2,1562.76 6209.83,1562.76C6216.68,1562.76 6222.02,1564.86 6225.85,1569.06C6229.68,1573.27 6231.6,1578.81 6231.6,1585.69L6231.6,1621.45L6222.55,1621.45L6222.55,1586.02C6222.55,1581.02 6221.24,1577.09 6218.63,1574.23C6216.02,1571.37 6212.4,1569.93 6207.75,1569.93C6203.67,1569.93 6200.37,1570.93 6197.84,1572.92C6195.31,1574.91 6193.48,1577.43 6192.34,1580.48C6191.2,1583.52 6190.63,1586.63 6190.63,1589.82L6190.63,1621.45L6181.45,1621.45L6181.45,1586.02C6181.45,1581.02 6180.19,1577.09 6177.66,1574.23C6175.13,1571.37 6171.51,1569.93 6166.78,1569.93C6162.7,1569.93 6159.4,1570.93 6156.87,1572.92C6154.34,1574.91 6152.51,1577.45 6151.37,1580.53C6150.23,1583.61 6149.65,1586.71 6149.65,1589.82L6149.65,1621.45L6140.48,1621.45Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M6255.81,1642.75L6255.81,1563.85L6264.98,1563.85L6264.98,1574.17L6265.6,1574.17C6266.49,1572.8 6267.82,1571.22 6269.57,1569.44C6271.32,1567.67 6273.67,1566.11 6276.6,1564.77C6279.54,1563.43 6283.25,1562.76 6287.73,1562.76C6292.62,1562.76 6296.9,1563.61 6300.57,1565.32C6304.24,1567.02 6307.28,1569.3 6309.69,1572.16C6312.09,1575.02 6313.9,1578.23 6315.13,1581.78C6316.35,1585.33 6316.96,1588.95 6316.96,1592.65C6316.96,1596.34 6316.35,1599.97 6315.13,1603.52C6313.9,1607.07 6312.09,1610.27 6309.69,1613.13C6307.28,1616 6304.24,1618.28 6300.57,1619.98C6296.9,1621.68 6292.62,1622.53 6287.73,1622.53C6283.25,1622.53 6279.54,1621.86 6276.6,1620.52C6273.67,1619.18 6271.32,1617.61 6269.57,1615.8C6267.82,1613.99 6266.49,1612.43 6265.6,1611.12L6264.98,1611.12L6264.98,1642.75L6255.81,1642.75ZM6265.11,1592.65C6265.11,1596.41 6265.88,1600.04 6267.43,1603.52C6268.98,1606.99 6271.34,1609.86 6274.52,1612.1C6277.7,1614.35 6281.66,1615.47 6286.39,1615.47C6291.2,1615.47 6295.17,1614.35 6298.31,1612.1C6301.45,1609.86 6303.81,1606.99 6305.4,1603.52C6306.99,1600.04 6307.79,1596.41 6307.79,1592.65C6307.79,1588.88 6306.99,1585.26 6305.4,1581.78C6303.81,1578.3 6301.45,1575.44 6298.31,1573.19C6295.17,1570.95 6291.2,1569.83 6286.39,1569.83C6281.66,1569.83 6277.7,1570.95 6274.52,1573.19C6271.34,1575.44 6268.98,1578.3 6267.43,1581.78C6265.88,1585.26 6265.11,1588.88 6265.11,1592.65Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path d="M6339.59,1621.45L6339.71,1538.85L6348.76,1538.85L6348.76,1621.45L6339.59,1621.45Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M6401.72,1622.53C6396.5,1622.53 6391.97,1621.68 6388.14,1619.98C6384.31,1618.28 6381.17,1615.98 6378.72,1613.08C6376.28,1610.18 6374.46,1606.96 6373.28,1603.41C6372.1,1599.86 6371.51,1596.27 6371.51,1592.65C6371.51,1589.03 6372.1,1585.44 6373.28,1581.89C6374.46,1578.34 6376.28,1575.11 6378.72,1572.22C6381.17,1569.32 6384.25,1567.02 6387.96,1565.32C6391.67,1563.61 6396.09,1562.76 6401.23,1562.76C6406.61,1562.76 6411.4,1563.88 6415.6,1566.13C6419.8,1568.38 6423.1,1571.69 6425.5,1576.07C6427.91,1580.46 6429.11,1585.95 6429.11,1592.54L6429.11,1594.93L6380.8,1594.93C6380.97,1598.62 6381.88,1602.03 6383.55,1605.15C6385.23,1608.26 6387.59,1610.76 6390.65,1612.64C6393.7,1614.53 6397.39,1615.47 6401.72,1615.47C6405.3,1615.47 6408.28,1614.91 6410.64,1613.79C6413.01,1612.66 6414.82,1611.36 6416.09,1609.87C6417.35,1608.39 6418.25,1607.1 6418.78,1606.02C6419.31,1604.93 6419.57,1604.38 6419.57,1604.38L6428.25,1604.38C6428.25,1604.38 6428.05,1604.98 6427.64,1606.18C6427.24,1607.37 6426.5,1608.88 6425.44,1610.69C6424.38,1612.5 6422.85,1614.31 6420.86,1616.12C6418.86,1617.93 6416.31,1619.45 6413.21,1620.69C6410.11,1621.92 6406.28,1622.53 6401.72,1622.53ZM6380.92,1588.41L6419.94,1588.41C6419.69,1583.99 6418.69,1580.42 6416.94,1577.7C6415.19,1574.99 6412.93,1573.01 6410.15,1571.78C6407.38,1570.55 6404.41,1569.93 6401.23,1569.93C6395.44,1569.93 6390.75,1571.62 6387.16,1574.99C6383.57,1578.36 6381.49,1582.83 6380.92,1588.41Z"
                                style="fill:rgb(90,62,52);fill-rule:nonzero;" />
                            <path
                                d="M6457.85,1622.32C6455.89,1622.32 6454.28,1621.72 6453.02,1620.52C6451.76,1619.33 6451.12,1617.9 6451.12,1616.23C6451.12,1614.57 6451.76,1613.15 6453.02,1611.99C6454.28,1610.83 6455.89,1610.25 6457.85,1610.25C6459.81,1610.25 6461.44,1610.83 6462.74,1611.99C6464.05,1613.15 6464.7,1614.57 6464.7,1616.23C6464.7,1617.97 6464.05,1619.42 6462.74,1620.58C6461.44,1621.74 6459.81,1622.32 6457.85,1622.32Z"
                                style="fill-rule:nonzero;" />
                        </g>
                    </g>
                </g>
            </g>
        </g>
    </g>
</svg>

I've narrowed it down to the "Remove unknowns and defaults" toggle.

The only difference in output (when using that toggle) is in the removal of 3 <svg> element attributes: [width, height, version]

Input:

<svg
  width="100%"
  height="100%" 
  viewBox="0 0 1000 500"
  version="1.1"
  xmlns="http://www.w3.org/2000/svg"
  […]>

Output:

<svg
  viewBox="0 0 1000 500"
  xmlns="http://www.w3.org/2000/svg"
  […]>

Hope that helps.

I'll stop using that toggle for now, and manually remove those attributes afterwards.

jakearchibald commented 2 months ago

It seems like the invalid 100% values are tripping it up.