Hello!
We upgraded our JCEF implementation lately from 3.2704 to 3.3325 and most things worked fine.
One problem we have is, that it seems that the handling of the printsettings seems to have changed.
Now we have problems with our "fit in page" - "fix", see viewtopic.php?f=17&t=14789
In short: borderless PDFs (with content bigger than the printable area) where cut when printing. we implemented an additional 5% shrink (page.shrink_factor();) in printed_document_win.cc and fixed negative printing offsets.
Our automatic tests are printing such PDFs to with the PDFCreator and test if the shrink percentage is working.
Results:
With 3.2704 the shrink percentage works, the PDF is shrinked.
The original shrink factor is modified and the resulting PDF is as expected.
Also see our additional implemented logging:
[4728:17936:1001/154752:INFO:printed_document_win.cc(67)] MPA_LINZ_Chromium_Patch: printed_document_win.cc; Using shrink factor 0.161631 instead of 0.153934
With 3.3325 the shrink percentage is used, but has no effect.
The resulting PDF is an unmodified copy of the original PDF.
Also see our additional implemented logging:
[16396:10364:1001/153029.114:INFO:printed_document_win.cc(67)] MPA_LINZ_Chromium_Patch: printed_document_win.cc; Using shrink factor 1.05 instead of 1
The great difference I see is that the page.shrink_factor() is 1 instead of 0.153934; where does that value come from?
We have seen this problem only on some virtual PrintToPDF Printers, we haven't seen this behavior on physical printers until now.