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

Euro Symbol problem #1379

Closed
AndreMPCosta opened this issue Jun 9, 2021 · 3 comments
Closed

Euro Symbol problem #1379

AndreMPCosta opened this issue Jun 9, 2021 · 3 comments

Comments

@AndreMPCosta
Copy link

So I'm parsing an HTML file to PDF using Weasyprint. But there is this weird problem:

       <tr>
            <td></td>

            <td></td>

            <td> Taxes 23%:
            4.87 €
            </td>
        </tr>
        <tr class="total">
            <td></td>

            <td></td>

            <td>Total: 40.65 €</td>
        </tr>

If I put the euro symbol on the last tr, I get an error while trying to open the PDF, (135). But I use the € symbol on the previous row without any issues. I can't comprehend how is this happening, since it works fine on the other row.

Output without using it on the last row:

@liZe
Copy link
Member

liZe commented Jun 9, 2021

Hello!

Could you please attach your broken PDF? Your problem is probably a duplicate of #1292.

@AndreMPCosta
Copy link
Author

AndreMPCosta commented Jun 9, 2021

60b9fc96d8f60d52a97e05cf.pdf

Sure here it is.

@liZe
Copy link
Member

liZe commented Jun 9, 2021

Sure here it is.

It’s a duplicate of #1292. You can follow the solutions in the comments and the issues linked to #1292 (downgrading Cairo to 1.17.2, apply a patch, etc.) to fix this problem.

@liZe liZe closed this as completed Jun 9, 2021
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