3 ms·
I never imagined a future in which PDFs talked back. Now I can.
by jonathaneunice 2y ago
I never imagined a future in which PDFs talked back. Now I can.
- anthk 2y agoPostScript files are dynamic code. You can create polygons dynamically with commands. And, of course, font FX's, styles, elipses... Also, there's a ZMachine interpreter (text adventure player) written in PostScript which can play Zork and some libre games such as Calypso with just GhostScript, the PostScript interpreter most software use to render PostScript files.
- fourthark 2y agollama.pdf when?
- bandrami 2y agoPostScript is Turing complete and your PDF reader is a PostScript interpreter. So, yeah, potentially any PDF is instructions to a general-purpose computer.
- layer8 2y agoPostScript is deprecated in PDF though.
- hi-v-rocknroll 2y agoOlder versions of PDF files and readers don't know or care about what happened later. PDFs also did shady shit like being able to embed JavaScript actions and other files. They also became Turing complete when they adopted Type 4 functions in PDF 1.3 that still aren't deprecated in 2.0. LaTeX subsumed most of the human authoring uses of PS where it was used in academia.