You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a specific PDF page which misses text when being rendered with WeasyPrint.
I took the original HTML and CSS and removed code to get a smaller and simpler example illustrating the problem. I tried adding the boxes together to further simplify the example, but doing so resulted in the correct behavior of spilling over the contents to the next page.
Naa, not exactly a duplicate. Though both issues stem from the fact that WeasyPrint tries to avoid orphaned table headers and widowed table footers.
In the above example table_layout detects that the table footer is too big to fit on the remaining space. But since there is nothing in the table's body the footer looks like a widow and is suppressed.
No decision is made between "there is nothing left" and "there never has been anything" in the table body.
I have a specific PDF page which misses text when being rendered with WeasyPrint.
I took the original HTML and CSS and removed code to get a smaller and simpler example illustrating the problem. I tried adding the boxes together to further simplify the example, but doing so resulted in the correct behavior of spilling over the contents to the next page.
The output of WeasyPrint:

The text was updated successfully, but these errors were encountered: