Guillaume Ayoub
Guillaume Ayoub
Please reopen the issue if you can provide more information about this.
The problem is caused by the code of `PdfGenerator`, thatās not in the documentation anymore because running elements are now supported. Adding children to the page after rendering the whole...
> Is there some CSS to allow this to be calculated on the fly? I donāt think so :/. > Also, we need a full-width header/footer, but I can only...
As explained in #1517, thereās a problem when we generate a PDF out of a document that includes content that wasnāt originally present during the layout. It happens when we...
> We ended up rendering each of the documents and merging them separately which works well: Thatās probably the best way to reliably do this!
This bug has been fixed and the old `PdfGenerator` code should work again. As explained above, use it at your own risk for desperate cases only! If you want to...
> Would it be possible to do a patch release on PyPi with this fix in it? Thank you. Version 57 will be (hopefully) released today. > Could I also...
Hello! [Version 55](https://github.com/Kozea/WeasyPrint/milestone/32) will be dedicated to increase performance and clean code. Weāll definitely look at this bug after version 54 is released.
Itās hard to reproduce the bug with just this sample. Do you have the problem only when you manage the cache manually, as in #1555?
Hereās the profiling result of your script, with 10,000 renderings (memory checked each 0.1s): ``` MEM 1.394531 1645050553.7938 MEM 23.011719 1645050553.8940 MEM 30.738281 1645050553.9943 MEM 38.371094 1645050554.0946 MEM 45.394531 1645050554.1948...