3 ms·
Also see a full web rendering engine (modern HTML + CSS + the whole layout engine) made in pure Python, that can export to PDFs: https://github.com/Kozea/WeasyP
by promiseofbeans 2y ago
Also see a full web rendering engine (modern HTML + CSS + the whole layout engine) made in pure Python, that can export to PDFs: https://github.com/Kozea/WeasyPrint https://github.com/Kozea/WeasyPrint
They even support a lot of properties that aren't in Gecko/WebKit/Blink, like the @page rules.
- deleted 2y ago[deleted]
- littlestymaar 2y agoUnfortunately all the attempt to build a web rendering engine can only end up in a barely usable renderer full of not properly supported edge cases. Even the historic browser vendors with lots of manpower struggle with implementing it and they don't even agree on the implementation details.