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

Update weasyprint to render QR codes in letter #744

Merged
merged 2 commits into from
Jul 21, 2023
Merged

Conversation

CrystalPea
Copy link
Contributor

@CrystalPea CrystalPea commented Jul 20, 2023

Weasyprint only started SVGs since version 53, and at first it was a bit buggy, so I updated to the latest version.

See this issue: Kozea/WeasyPrint#75

So that it shows QR codes in PDF it creates. Version 51 did not
do it.
Copy link
Contributor

@samuelhwilliams samuelhwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good 👍

We checked to understand why the cache keys have changed and if it was concerning. It's not.

Some of the HTML is syntatically different - for example margin: 16pt 0 0 0; vs margin: 16.0pt 0 0 0;, but functionally and visually this is the same.

@CrystalPea CrystalPea merged commit 1f7d4cc into main Jul 21, 2023
@CrystalPea CrystalPea deleted the update-weasyprint branch July 21, 2023 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants