3 ms·
Please do link an example of PDF randomness...
by notfed 2y ago
Please do link an example of PDF randomness...
- lgas 2y agoThere's a pseudo random number generator in Doom, there must be some randomness somewhere in here. https://doompdf.pages.dev/doom.pdf https://doompdf.pages.dev/doom.pdf
- layer8 2y agoPDF lets you run JavaScript (if the PDF viewer doesn’t block it), including on opening a document. Math.random() is available in that environment. JavaScript in PDF allows you to switch the visibility of layers on and off, or to fill the values of text fields. PDF forms sometimes use this to generate likely-unique IDs. Alternatively, PDFs can have embedded PostScript to render contents. PostScript has a random-number function rand built-in. (PostScript support is deprecated in PDF 2.0.)