Describe the bug
The latest versions of the docker images are causing PDFs to be incorrectly generated. Contents of the PDF would shrink to around 2/3rds of the page.
Steps to reproduce the behavior:
Rendered PDF content shrinks, expected not to.
Difference between docker image versions
As you can see the latter screenshot content has shrunken and the second page's content disappeared.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Our code has not changed and we have been using
/chrome:latest for several years but the latest releases starting from Dec 2, 2022 caused this bug.
Sorry for the delay on this. We checked this further, and it looks like from Chromium revision r1056772, the PDF renderer util renders all content slightly shrunk. The last revision compatible with puppeteer that doesn't shrink the contents i r1045629.
Unfortunately, this is a Chromium limitation. Although slightly increasing the PDF scale (to 1.043 in our tests) seems to help.
|Issue Title||Created Date||Updated Date|