3 ms·
2 reasons I'd use HTML 1. I'm taking untrusted PDFs and running them on my machine. Using something like say puppeteer that PDF renderer runs in a sandbox. Gho
by asiachick 6y ago
2 reasons I'd use HTML
1. I'm taking untrusted PDFs and running them on my machine. Using something like say puppeteer that PDF renderer runs in a sandbox. Ghostscript, not so much. PDFs can have code in them
2. Using HTML via puppeteer lets me render tons of other things I might want to render than just PDFs. Plenty if beautiful algorithmic art out there that runs in a browser.