danfickle / openhtmltopdf

An HTML to PDF library for the JVM. Based on Flying Saucer and Apache PDF-BOX 2. With SVG image support. Now also with accessible PDF support (WCAG, Section 508, PDF/UA)!
https://danfickle.github.io/pdf-templates/index.html
Other
1.93k stars 360 forks source link

HTML table from Screen is different in PDF #848

Open rider87 opened 2 years ago

rider87 commented 2 years ago

hi,

I have the following HTML table:

In HTML (my editor page) it´s like this:

image

Real HTML page:

image

And in PDF it´s like this:

image

As you can see there a some issues: image

-> There is a small space (Artikelnummer, Artikelbeschreibung, Steuersatz) -> On the right side, the text is larger than the table... The € sign is bigger than the table. If you would add a border around the table, you can see this even better...

Here the whole HTML / XHTML code: https://paste.ofcode.org/35CJVGtWKxmxysnqGPrQg9g

Any idea?

marccollin commented 2 years ago

error 404