Upgrading from 2.11.0 to 4.5.0 resulted in insufficient space
-
Hi,@jan_blaha@bjrmatos
Hope you are doing well.
When I was testing, I found that since 3.4.0, generating PDF content requires more space, resulting in insufficient space in some areas and content being pushed to the next page. I would like to ask if there is any good solution?
jsreport@2.11.0:
jsreport online:
https://playground.jsreport.net/w/anon/4FB0CawT
-
The test is between page 2 and page 3
-
I found that in the upgraded version 4.5.0, the font is not using Embedded but using Embedded Subset. I don't know if this is the reason. How can I set the font to Embedded.
2.11.0:
4.5.0:
-
Unfortunately, this is caused by the updated Chrome version in the later jsreport. We do not influence pdf rendering or font embedding. I'm afraid you will need to adapt your css.
Have you checked our workaround for multiple-page tables?
https://jsreport.net/learn/chrome-pdf#troubleshooting
-
@admin You're right. It's because jsreport switched puppeteer@13.1.2,use puppeteer@10.4.0 , it will become normal, and I need more testing to see if it is compatible properly.
-
I think this information is helpful for people who want to upgrade to a higher version using 2.11.0