If you have ever built an online invoice, receipt, or report generator, you have probably tried the classic frontend shortcut: render a DOM node with html2canvas and paste the resulting PNG into jsPDF .
It works for a 5-minute prototype — and then your first client tries to copy an invoice number or print it on A4 paper:
Blurry text on print and zoom (because it's a raster screenshot, not vector typography)
Unselectable text (accounting tools and PDF parsers can't read a single number)
Bloated 1.2–2.5 MB file sizes for a 1-page invoice
Broken page breaks whenever a line-item table grows past one page
Here is how to switch to crisp, selectable 19 KB vector PDFs in under 200ms using Python, WeasyPrint , and CSS @page rules — with zero server disk storage.
1.…