-
-
Notifications
You must be signed in to change notification settings - Fork 712
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
Ligatures do not seem to render #1295
Comments
Hi! |
Yes, nonworking.pdf and working.pdf. |
With regards to Adobe Acrobat Reader DC (20.013.20074) being unable to read the file, if I hold Control when pressing OK it instead says "Unterminated string.". This is probably the ligature issue, as |
By looking the files content, it’s caused by a bug in Cairo which generate invalid font name. Note: Duplicate #1292 |
Okay, thank you for the quick resolution! I also posted a different error on that issue a few minutes ago caused by tables, but yeah, makes sense the Cairo version is buggy. |
I can confirm that |
Hi, thanks for this software. Ligatures seemingly don't render.
System: Windows 10
GTK: gtk3-runtime-3.24.24-2021-01-30-ts-win64.exe
Python: Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)]
Version: WeasyPrint==52.2
HTML used to reproduce the bug:
weasyprint bug.html bug.pdf
output as rendered by SumatraPDF v3.2 64-bit (zoomed in):Expected output (as rendered by Windows settings):
If I add
font-variant-ligatures: none;
to the style, the full text renders, but the font is gone (I guess Calibri lacks a variant with no ligatures):(As a side-note, I'm unable to display the generated
.pdf
on Firefox, "This PDF document might not be displayed correctly.", nor Acrobat Reader, "There was an error processing a page. There was a problem reading this document (114).").The text was updated successfully, but these errors were encountered: