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

svg rendering - Failed to render SVG image error #2239

Closed
lafar6502 opened this issue Aug 23, 2024 · 2 comments
Closed

svg rendering - Failed to render SVG image error #2239

lafar6502 opened this issue Aug 23, 2024 · 2 comments
Labels
bug Existing features not working as expected
Milestone

Comments

@lafar6502
Copy link

lafar6502 commented Aug 23, 2024

Hi, i'm attaching a test case (SVG image within html) where Weasyprint doesn't render SVG at all - there is an error message reported on console.

ERROR: Failed to render SVG image
but no information about what exactly is the problem

test_p1.zip

https://github.com/Kozea/WeasyPrint/actions/runs/10515859855

Best regards
RG

@liZe liZe added the bug Existing features not working as expected label Aug 23, 2024
@liZe
Copy link
Member

liZe commented Aug 23, 2024

Thanks for the report.

The image can’t be rendered because markers (startarrow and endarrow) are not included in your file. We should render the image without the markers instead.

@liZe liZe closed this as completed in cbf10b9 Aug 23, 2024
@liZe liZe added this to the 63.0 milestone Aug 23, 2024
@lafar6502
Copy link
Author

lafar6502 commented Aug 23, 2024

Thanks, you're right - markers were missing. But after removing the markers - still the picture is not rendered correctly.
But this time i'm not getting any error message.
pdf:
image
svg: something like
image

Here's the test case - updated svg.
test_p2.zip
(let me know if this should be registered as new issue, can't reopen this one)

RG

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