Jeckky / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Whole pages squeezed in one row #350

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Common text in paragraphs or divs

What is the expected output? What do you see instead?
Common text in paragraphs or divs

What version of the product are you using? On what operating system?
dompdf_0-6-0_beta2 on Windows 7 / Windows Vista

Please provide any additional information below.
After a not specified number of paragraphs or divs a part of document is 
squeezed in one row at the top of the page as you can see in the picture. If i 
remove some text or simply a <br> or paragraph or div it works again

Original issue reported on code.google.com by marco.d....@gmail.com on 8 Sep 2011 at 3:29

Attachments:

GoogleCodeExporter commented 9 years ago
I've seen this happen in two different instances:

1) CPDF can find no valid font metrics
2) An empty table row (no content but spaces) breaks table rendering.

The problem outlined in the latter instance has been addressed.

Can you supply a sample document?

Original comment by eclecticgeek on 22 Sep 2011 at 3:22

GoogleCodeExporter commented 9 years ago
I had tags opened and not closed so i'm really sorry but it was an html 
problem. once wrote the html again without errors the problem is solved and 
your lib works REALLY GREAT! MANY THANKS!

Original comment by marco.d....@gmail.com on 22 Sep 2011 at 9:43

GoogleCodeExporter commented 9 years ago
Thanks for the update. Which open tags were causing the problem. DOMDocument is 
sometimes good about cleaning up problematic HTML, but not always. I don't know 
that we would address it, but depending on the nature of the code we might 
consider it.

Original comment by eclecticgeek on 22 Sep 2011 at 5:01

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 30 May 2013 at 5:16