spipu / html2pdf

OFFICIAL PROJECT | HTML to PDF converter written in PHP
http://html2pdf.fr/en/default
Open Software License 3.0
1.68k stars 751 forks source link

html2pdf downloading pdf texts are over lap and break the page #494

Open sherin12345 opened 5 years ago

sherin12345 commented 5 years ago

Currently, I am using the html2pdf library for downloading PDF files, it is working fine for me, but the problem is that after a few downloads the texts are overlapping and the complete page is broken. Using a pagebreak class I can restrict the page break issue but the overlapping issue and the broken page issue is still there

LittleBigFox commented 5 years ago

Hi!

I'd got this bug a few time, in my case it was a DIV in a DIV, the height calculation was not good... Try to simplify your HTML!

Regards, LBF