-
-
Notifications
You must be signed in to change notification settings - Fork 698
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
Rendering javascript generated svg #845
Comments
WeasyPrint doesn't (and probably never will) handle JavaScript at all. So if your SVG file is generated with JS, there's no way it can work 😉. See #454. |
Ah I've already seen that. I ran the code through Selenium and I feed weasyprint the page source code with the svg already in it. I was wondering why do I get only the text in the svg and not the lines and the strokes. |
Is it possible for you to attach the generated SVG file? |
It generates html code not a file
|
OK, it's inline SVG, and it's not supported (yet 😢) by WeasyPrint (see #75). You can save the SVG and include it in the HTML using a |
Alright thank you mate :) |
Good luck! |
I'm trying to get a C3 chart generated svg to render into my pdf but all I see is the "text" part of it.
any ideas?
The text was updated successfully, but these errors were encountered: