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 rendered completely wrong in 53.0b2 #1403

Closed
zopyx opened this issue Jul 23, 2021 · 1 comment
Closed

SVG rendered completely wrong in 53.0b2 #1403

zopyx opened this issue Jul 23, 2021 · 1 comment
Labels
bug Existing features not working as expected
Milestone

Comments

@zopyx
Copy link

zopyx commented Jul 23, 2021

The HTML + SVG from

https://www.dropbox.com/sh/asmhy3zwsv5ul5w/AACB-47TDaukvBGBp57Q6Bera?dl=0

is rendered completely wrong:

Bildschirmfoto 2021-07-23 um 14 16 12

@liZe liZe added the bug Existing features not working as expected label Jul 23, 2021
@liZe liZe added this to the 53.0 milestone Jul 23, 2021
@liZe
Copy link
Member

liZe commented Jul 23, 2021

Thanks for this bug report.

I’ve been writing SVG renderers for more than 10 years, and I’ve learned today that x and y don’t work at all as I’ve always believed.

Another fun fact: this SVG is not rendered at all with previous versions of WeasyPrint, it actually makes CairoSVG crash.

Another problem: the font used seems to be bold, but it shouldn’t be. I’ll fix that in another commit.

@liZe liZe closed this as completed in 8d7bcea Jul 23, 2021
liZe added a commit that referenced this issue Jul 23, 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