cppfw / svgren

:camera: SVG rendering library in C++
MIT License
206 stars 41 forks source link

Rendering issue #68

Closed lucdion closed 5 years ago

lucdion commented 5 years ago

Hi, the rendering of this SVG is different using svgren compared to Gimp results. The "R" in the center is missing.

Result:

image

Expected Result:

image

-3.svg.zip

igagis commented 5 years ago

It might be that you are using black background for that image. The "R" is not white, it is transparent. In GIMP you probably applied white background layer while in your app you probably have black background. Could you check?

lucdion commented 5 years ago

You're right, the "R" is supposed to be transparent. If I put a yellowish background, here is the result

image
lucdion commented 5 years ago

In GIMP, here is the true result:

image
igagis commented 5 years ago

Strange, I checked on my end, it works correctly on linux. On what system do run it?

lucdion commented 5 years ago

iOS

lucdion commented 5 years ago

Oh, my mistake (again) 😬 Sorry for this. By the way, your lib is amazing! Really good job.

igagis commented 5 years ago

Ok, no problem!