dart_pdf
dart_pdf copied to clipboard
Please implement a feature that allows large widgets to break across multiple pages automatically
Please implement a feature that allows large widgets to break across multiple pages automatically. This will ensure that content is properly rendered and displayed, regardless of size, and improve support for a variety of scenarios where dynamic or large content needs to be shown across multiple pages.
Currently, the PDF rendering in the application only supports a single widget per page. If the widget’s content exceeds the available space on the page, it does not automatically split and flow onto the next page. This results in the widget either being cut off or compressed to fit the page, which is not ideal for larger content.
Actually @alihassan143 its worse than that, I just ran into the situation where adding an image that's too high (over 715px high to a document set to a4) will actually cause an infinite loop that rapidly consumes process ram until memory exhaustion :-( .
I actually stumbled across it using your htmltopdfwidgets just having a single html page with an image that's over the above height, should be easy to reproduce.
This issue seems to be related to this also: #1471