RazrFalcon / resvg

An SVG rendering library.
Mozilla Public License 2.0
2.61k stars 215 forks source link

rendering adjacent squares in SVG #759

Closed hfmanson closed 1 month ago

hfmanson commented 1 month ago

Since resvg aims to follow the SVG spec I would like to present this corner case. I have thin lines appearing in Chrome and resvg, not in Firefox when nine white squares are adjacent. thinlines

Is this inherent to SVG or a bug?

hfmanson commented 1 month ago

See https://stackoverflow.com/questions/78467283/thin-lines-appear-when-rendering-adjacent-squares-in-svg/78467428#78467428

RazrFalcon commented 1 month ago

This is by design. SVG doesn't support pixel-perfect rendering.