lishu / vscode-svg2

A vscode svg langauge support extension
MIT License
200 stars 10 forks source link

Rendering issue when viewBox dimension is less than 0.1 #162

Open thisisbinod opened 1 year ago

thisisbinod commented 1 year ago

Following SVG doesn't render.

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="400" width="400"
    viewBox="-96.854 -32.82 0.0918 0.0710">
    <path  stroke="#55c7c8"  stroke-width="0.001" fill="none"
        d="M -96.795785 -32.77351 L -96.796888 -32.773215 -96.797466 -32.772748 -96.798801 -32.772388 -96.800231 -32.771076 -96.799542 -32.77057 -96.800502 -32.769621 -96.800462 -32.76896 -96.797653 -32.765985 -96.796094 -32.764567 -96.793371 -32.762839 -96.79239 -32.762349 -96.790491 -32.761313 -96.788834 -32.760322 -96.787714 -32.759826 -96.789688 -32.756481 -96.791035 -32.753999 -96.791491 -32.753273 -96.792558 -32.751948 -96.794145 -32.750479 -96.796334 -32.749095 -96.797524 -32.74851 -96.79905 -32.749184 -96.798699 -32.749948 -96.797883 -32.75164 -96.799854 -32.752615 -96.801706 -32.753818 -96.80329 -32.755017 -96.804265 -32.755685 -96.805122 -32.756103 -96.80648 -32.757179 -96.807827 -32.758733 -96.80912 -32.759719 -96.809374 -32.759939 -96.807629 Z"
        />
</svg>