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: Capstyles and joinstyles not applied (correctly) #1366

Closed
pbregener opened this issue May 27, 2021 · 1 comment
Closed

SVG: Capstyles and joinstyles not applied (correctly) #1366

pbregener opened this issue May 27, 2021 · 1 comment
Labels
bug Existing features not working as expected
Milestone

Comments

@pbregener
Copy link
Contributor

pbregener commented May 27, 2021

Using some matplotlib examples (for capstyles and joinstyles) it becomes obvious that SVG path capstyles and joinstyles are not rendered properly by non-cairo WeasyPrint.

master (capstyles 🟥 , joinstyles 🟧) v52 (capstyles ✅ , joinstyles 🟨 ) Chrome 90 (reference)
v53 v52 chrome

To reproduce:

<html>
<body>
<img src="https://raw.githubusercontent.com/pbregener/weasyprint-data/main/matplotlib-capstyles.svg" style="width: 100%;">
<img src="https://raw.githubusercontent.com/pbregener/weasyprint-data/main/matplotlib-joinstyles.svg" style="width: 100%;">
</body>
</html>
@liZe liZe closed this as completed in bb8eea9 May 27, 2021
@liZe
Copy link
Member

liZe commented May 27, 2021

❤️

@liZe liZe added the bug Existing features not working as expected label May 27, 2021
@liZe liZe added this to the 53.0b2 milestone May 27, 2021
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