-
Notifications
You must be signed in to change notification settings - Fork 104
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
Enlarged patterns (defs) #207
Comments
|
I found the problem, the width/height attributes affect the patterns, I don't know if this is a bug or a feature. |
Ideally, if the SVG spec produces one result, and the browsers agree on this, this should also be replicated in PDF. So if it doesn't, it's a bug. Whether this is feasible to resolve and whether this is a bug in JSPDF or in SVG2PDF is a different question, I cannot answer at the moment. |
The specification says,
It could be that the |
I think Daniel Bretzigheimer and me fixed this in the PR for #212. Several fixes related to Patterns are cobbled up in that PR, so try if that fixes it. |
Hello, there was such a problem, when exporting to PDF, the patterns increase. Previously, when there was no nesting of svg elements, everything worked fine. Thanks in advance for your reply.
Approximate
but in pdf it looks like this
html example:
`
The text was updated successfully, but these errors were encountered: