ropensci / rsvg

SVG renderer for R based on librsvg2
Other
97 stars 1 forks source link

Bad antialiasing with PNG export #24

Open arencambre opened 3 years ago

arencambre commented 3 years ago

When you export a SVG to a PNG that has a stoke and fill defined for the text, the stroke part is offset horizontally to the left.

Here's the resulting PNG: fallacy

The SVG is in here: fallacy.zip

This is the line of code to produce this: rsvg_png("fallacy.svg", "fallacy.png")