Bugs on importing SVG with small elements

It appears that LightBurn has problem with shapes of small SVG files.

Blue is how shape looks like in Inkscape and in SVG.

Black - what LB imported (shapes are rescaled from extremely tiny input)

malformed SVG:

<svg xmlns="http://www.w3.org/2000/svg" width="2.782987270038575" height="2.7800853326916695" baseProfile="full" version="1.1" style="stroke:none;fill:#00f"><defs style="stroke:none;fill:#00f"><style type="text/css" style="stroke:none;fill:#00f">polyline,line,rect,path,polygon,.polygon{fill:none;stroke:#000;stroke-width:1px;stroke-linejoin:round;}* {stroke: none; fill: #00f}</style></defs><g fill_rule="evenodd" transform="scale(1,-1) translate(-2218326.9451473146,-6455840.314787209)" style="stroke:none;fill:#00f"><g id="lone_squares" style="stroke:none;fill:#00f"><path d="M 2218326.94515,6455837.53470 2218326.94515,6455840.31479 2218329.72813,6455840.31479 2218329.72813,6455837.53470 2218326.94515,6455837.53470 z M 2218328.05834,6455838.64674 2218328.61494,6455838.64674 2218328.61494,6455839.20275 2218328.05834,6455839.20275 2218328.05834,6455838.64674 z" fill_rule="evenodd" class="polygon lone_squares" style="fill:none;stroke:#000;stroke-width:1px;stroke-linejoin:round;stroke:none;fill:#00f"/></g></g></svg>

SVG with complete loss of inner shape:

<svg xmlns="http://www.w3.org/2000/svg" width="0.556597454007715" height="0.5560169909149408" baseProfile="full" version="1.1" style="stroke:none;fill:#00f"><defs style="stroke:none;fill:#00f"><style type="text/css" style="stroke:none;fill:#00f">polyline,line,rect,path,polygon,.polygon{fill:none;stroke:#000;stroke-width:1px;stroke-linejoin:round;}* {stroke: none; fill: #00f}</style></defs><g fill_rule="evenodd" transform="scale(1,-1) translate(-2218326.9451473146,-6455838.090718867)" style="stroke:none;fill:#00f"><g id="lone_squares" style="stroke:none;fill:#00f"><path d="M 2218326.94515,6455837.53470 2218326.94515,6455838.09072 2218327.50174,6455838.09072 2218327.50174,6455837.53470 2218326.94515,6455837.53470 z M 2218327.16779,6455837.75711 2218327.27911,6455837.75711 2218327.27911,6455837.86831 2218327.16779,6455837.86831 2218327.16779,6455837.75711 z" fill_rule="evenodd" class="polygon lone_squares" style="fill:none;stroke:#000;stroke-width:1px;stroke-linejoin:round;stroke:none;fill:#00f"/></g></g></svg>

Is it known or expected or intended that small detail in SVG files will be dropped?

I can add some hack to scale things in SVG to avoid data loss (on floats?) if I should expect it, but maybe it is a bug?

I can retest in on .22 if it should not happen (I run .20 to avoid weird laser crashes reported in 0.9.21 test issues and to test is it happening also in .20)

Please let me know if I can improve this report in any way.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.