Skip to content
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 error when using WeasyPrint version 64 with SVG images #2375

Closed
zeandrade opened this issue Feb 5, 2025 · 2 comments
Closed

Rendering error when using WeasyPrint version 64 with SVG images #2375

zeandrade opened this issue Feb 5, 2025 · 2 comments
Labels
bug Existing features not working as expected

Comments

@zeandrade
Copy link

zeandrade commented Feb 5, 2025

Hi,
I have a report generation template that worked perfectly up to version 63.1. However, in the new version, referenced SVG images are broken.

These are:

  • icons referenced in the CSS
  • chart files used in the tag.

Note: Embedded SVGs directly in the HTML are not affected.

workaround: downgrade to 63.1

here is a repo with PoC of the bug

@liZe liZe closed this as completed in 00dda6a Feb 6, 2025
@liZe
Copy link
Member

liZe commented Feb 6, 2025

Thanks a lot for the bug report and for this wonderful repository to help us reproduce!

The bug is now fixed and tested, and will be included in v64.1 coming soon.

@liZe liZe added the bug Existing features not working as expected label Feb 6, 2025
@zeandrade
Copy link
Author

Thank you, @liZe , for your prompt response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing features not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants