Hacker News new | ask | show | jobs
by bla3 493 days ago
It's possible, but not in a PDF. PDFs support only a turing incomplete subset of PostScript, because PDF's designers thought that having a turing complete language in your document format would have performance implications. (Later, they changed their mind and added JavaScript support.)
1 comments

At least PDFs are generally usable with JS disabled, and it's not available in popular variants like PDF/A and PDF/X