-
-
Notifications
You must be signed in to change notification settings - Fork 704
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
Linear gradients bugged with 53.x #1485
Comments
It’s hard to get real values, because it would require to access the font information. But we can at least use values related to the font size, so that alignment doesn’t get totally wrong. Related to #1485.
It’s hard to get real values, because it would require to access the font information. But we can at least use values related to the font size, so that alignment doesn’t get totally wrong. Related to #1485.
Hello, and thanks a lot for this very well documented issue.
💜
There were actually two bugs… The linear gradient was missing because of quotes not being handled correctly in They’re fixed in the master branch, and will also be included in the next 53.4 version.
Glad to hear that WeasyPrint is useful for you! Don’t hesitate to send us a mail if you’d like to share your experience, we’d be really happy to learn more about these mysterious railway specifications 🚆🚆🚆 😃. |
(Oh, and we definitely miss tests for SVG, it’s an issue we’re aware of and that’s scheduled for version 55.) |
Hi,
First of all: Thank you very much for this great library!
We are using weasyprint to generate many specification documents in the railway market. Since version 53 our b64 encoded images are looking very weird. It seems like linearGradient elements are not recognized anymore and coordinates are wrong too. I hope the following images help you to debug it.
(size difference is just b/c of my snipping tool precision)
test.svg
Showcase script
For now we need to stick to weasyprint<=53.
The text was updated successfully, but these errors were encountered: