sammycage / lunasvg

lunasvg is a standalone SVG rendering library in C++
MIT License
818 stars 115 forks source link

Vertical line artifact for some odd sized images #124

Open lazergenixdev opened 1 year ago

lazergenixdev commented 1 year ago

Hi,

When trying to render emojis from twemoji I found 3 SVGs that do not render correctly for all pixel sizes, with very similar looking errors:

1f9b7.svg 1f97d.svg 1f964.svg

On further testing, this error only appears when height is set to an odd integer.

./svg2png 1f9b7.svg 0x101 \ 101x1f9b7 svg \ \ ./svg2png 1f9b7.svg 0x100 \ 100x1f9b7 svg