-
-
Notifications
You must be signed in to change notification settings - Fork 686
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
SVG getting mangled when I export to pdf #278
Comments
@liZe is you cairo patch published somewhere? |
Super, thanks! I think the latter will be pretty easy to implement. /me goes and tries. |
Oh, btw, while trying to figure out what was potting I noticed in image.py that quite often you're setting |
Yay, just changing that width and heigh parameter worked like a charm. |
It’s been a while since I looked at |
I'm not really confident in my knowledge of the code, but I'll try to make a contribution a bit later in the week. |
http://lists.cairographics.org/archives/cairo/2013-May/024301.html I've tried to send the patch twice on the mailing list, and twice directly with the author of the commit. |
And one more, sent with git-send-mail after a remark from a member of the mailing list: |
Someone with the same problem: |
Yeah! The patch finally got accepted! https://cgit.freedesktop.org/cairo/commit/?id=d2f1ebf579ba12b816eec9317f98eb845fbfeb4f |
fantastic :-). On Sat, Apr 16, 2016 at 12:08 PM, Guillaume Ayoub [email protected]
Dane Kennedy If you really want something in this life, you have to work for it. Now, |
Hi Simon,
I've put my test case here. Essentially the html output is from a jinja2 script and the svg is from ggplot (python's one, not R). I can't imagine why it would make a difference, and it didn't, but I used weasyprint in both CLI and in python. The pdf is just fine if I export my image to png (except the png is uglier and bigger).
Thanks for any help you can give,
Dane.
The text was updated successfully, but these errors were encountered: