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)!
Hi folks,
we are experiencing problems trying to render a box whose size, plus margins, fits exactly in the page.
The resulting pdf file hasn't one single page but 2.
Page size is A6 (105mm X 148mm).
Box size is 85mm X 128mm plus 10mm margin on each side.
As a workaround we can set bottom margin to 9.999px or 9.990mm, but would be nice to have the box to fit without the workaround.
Hi folks, we are experiencing problems trying to render a box whose size, plus margins, fits exactly in the page. The resulting pdf file hasn't one single page but 2.
Page size is
A6
(105mm X 148mm
). Box size is85mm X 128mm
plus10mm
margin on each side.As a workaround we can set bottom margin to
9.999px
or9.990mm
, but would be nice to have the box to fit without the workaround.Thanks Ivan
sample pdf output
HTML to test on
sandbox.openhtmltopdf.com
Sandbox call to reproduce the issue