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

Version 57 breaks display of glyphs in fonts; works in <57 #1757

Closed
leducvin opened this issue Oct 28, 2022 · 2 comments
Closed

Version 57 breaks display of glyphs in fonts; works in <57 #1757

leducvin opened this issue Oct 28, 2022 · 2 comments

Comments

@leducvin
Copy link

leducvin commented Oct 28, 2022

test.html:

<!DOCTYPE html>
<html lang="fr-CA">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="test.css">
  </head>
  <body>
    <section>
    <p>An arrow and a heart →  ♥</p>
    </section>
  </body>
</html>

test.css:

html {
    font-family: Noto;
}

Note: am using the Noto font which definitely includes these glyphs: → and ♥.

cat test.html | weasyprint -s test.css - test.pdf

WeasyPrint 56.1:
image

WeasyPrint 57:
image

@liZe
Copy link
Member

liZe commented Oct 29, 2022

Hi!

Thanks for the report.

Could you please try the current master version? It’s probably a duplicate of #1748.

@leducvin
Copy link
Author

Hi!

Yes, I can confirm it works with master (commit 3c6ac5e). Sorry if this was a duplicate... I'll close it now.

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

No branches or pull requests

2 participants