-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"y" in "tspan" interpreted as relative coordinate? #81
Comments
claudep
added a commit
to claudep/svglib
that referenced
this issue
Apr 9, 2017
The result is still not perfect because em units are not implemented yet, but the y position should be correct with the patch. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to convert an SVG that contains the following text node, which contains a
y
key both in thetext
tag and in thetspan
code:This node disappears off the page when converting it using
svg2pdf
, presumably because in https://github.com/deeplook/svglib/blob/master/svglib/svglib.py#L720, the y coordinates are added. If I understand correctly, the innery
keyword should be interpreted as an absolute coordinate though, so the outery
should be ignored in this case.plot.svg.txt
The text was updated successfully, but these errors were encountered: