Closed tobyclh closed 2 years ago
Thank you for raising your first issue! Your help to improve svglib is much appreciated!
I cannot reproduce the error with svglib master. Can you tell us which version of svglib you are using?
I was using the version on pop on Ubuntu 20.04. I will report back again later after trying out master. Thank you! On Fri, Dec 24, 2021 at 17:19 Claude Paroz @.***> wrote:
I cannot reproduce the error with svglib master. Can you tell us which version of svglib you are using?
— Reply to this email directly, view it on GitHub https://github.com/deeplook/svglib/issues/306#issuecomment-1000718227, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7MH2YZXFYG2WNUQGQRYNLUSQUJHANCNFSM5KWEBT5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
Upon building it from master the issue resolves. Thank you!
Hi
I have some files from exported from Google presentation that cannot be parse for some reason.
drawing = svg2rlg(args.input)
Log
Screenshot of the SVG
If I change
xn, yn = points[-2] + nums[0], points[-1] + nums[1]
toxn, yn = points[-2] + nums[0], points[-1] + nums[-1]
it will parse but will produce an incorrect result.Incorrect result
The middle image is offset a bit wrong somehow?
Link to the said SVG