Skip to content

Images do not fit to table cell #2633

@hammerbacher-com

Description

@hammerbacher-com

Hello Weasyprint Team,

this is our example:
invoice_factur-X.214062337.html

And this is how it is rendered by Weasyprint v67:

WeasyprintChannelTest.weasyprint.invoice_factur-x.214062337.813465544649464789.pdf

Image

The Problem is that the ZUGFeRD and Factur-X Logos #zugferd-logo and #factur-x-extended-logo in the payment table do not fit to the cell width.

I find no way to avoid having them overlap and even extend the page border. The display: grid; setting in td#factur-x-logos was just my latest try, but I would be happy to know if I there is a workaround or a specific CSS attribute that would help making these images fit to the cell.

I am not sure how this is related to the other recent issues here, and therefore I add this example as another issue.

We are very happy about the better PDF/A (according to the Changelog) support in v67 and would like to update soon, because this used to break validation of ZUGFeRD/Factur-X invoices generated using weasyprint. We hope v67 would fix that.
Unfortunately, the document must still render correctly ;-) .

Thank you for your work and for any kind help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions