CSS Paged Media Module Level 3
bugzilla.mozilla.org
bugzilla.mozilla.org
That was 18 years ago. That comment is old enough to vote.
FlyingSaucer, prawn, itext, fpdf, PDFkit, pdftk, aaalllll the way to today: Paged.js, Weazy, and vivliostyle
Yeah yeah yeah, I know. Prince is great. That's fine. My customers don't want to pay that kind of cash to make PDFs and I agree with them. Especially a feature that should have made it into browser core almost two decades ago.
I long ago imagined a steamy scenario involving Adobe executives and W3C steering groups, but that back room orgy has grown to improbable durations by the current date.
Weasyprint seems to be one of the few HTML->PDF engines out there that doesn't depend on a browser engine. It's impressive just how much works (HTML, CSS, SVG, etc), given that this is a relatively simple project compared to a full-featured browser. Performance isn't bad, considering it is implemented in Python.
Currently reliant on wkhtmltopdf for a few client projects, and while it works it has some.. Oddities that if I can, I'd like to get rid of having to remember.
There is some polifill for this spec https://pagedjs.org/documentation/
For comparison, Duke Nukem Forever took 14 years from announcement to release.
It's a paid product built and maintained by Håkon Wium Lie, the original developer of the CSS language (and the former CTO of the Opera browser company).