I am using rsvg and grImport to convert SVG images to xml file and finally extract shape coordinates. I need to get coordinates of everything in the SVG such as shapes, lines, and even dots.
I suspect the "rsvg_ps" function fails to covert short lines/dots, and accordingly, I am not able to get all coordinates.
The example below reproduces the issue. Is there any solution? Thank you!
[u2.txt](https://github.com/jeroen/rsvg/files/5490658/u2.txt)
library(rsvg); library(grImport)
# First rename the file 'u2.txt' as 'u2.svg'. I cannot upload .svg files, so 'u2.txt' is uploaded.
# The u2.svg contains two paths: path824, path819
rsvg_ps('u2.svg', 'u2.svg.ps')
# In the u2.svg.ps.xml, only the larger path path824 is extracted while path819 is missing.
PostScriptTrace('u2.svg.ps', 'u2.svg.ps.xml')
Dear rsvg maintainters,
I am using rsvg and grImport to convert SVG images to xml file and finally extract shape coordinates. I need to get coordinates of everything in the SVG such as shapes, lines, and even dots.
I suspect the "rsvg_ps" function fails to covert short lines/dots, and accordingly, I am not able to get all coordinates.
The example below reproduces the issue. Is there any solution? Thank you!