| Post Reply | RetroFed Forum Forum Index » Paperless office; document/image processing ๐ท๐ฎ๐ฅ๐ป๐ ๐๐ผ๐ฅ๐งพ |
| Author | Message | ||
|---|---|---|---|
|
evenwicht
lemmy.sdf.org
evenwicht@lemmy.sdf.org Joined: 2024-07-01 |
They emailed me a PDF. It opened fine with evince and looked like a simple doc at first. Then I clicked on a field in the form. Strangely, instead of simply populating the field with my text, a PDF note window popped up so my text entry went into a PDF note, which many viewers present as a sticky note icon. If I were to fax this PDF, the PDF comments would just get lost. So to fill out the form I fed it to LaTeX and used the overpic pkg to write text wherever I choose. LaTeX rejected the file.. could not handle this PDF. Then I used the
WTF is that? I know PDF supports JavaScript (shitty indeed). Is that what this is? โJavaโ is not JavaScript, so Iโm baffled. Why is java in a PDF? (edit: explainer on java serialization, and some analysis) My workaround was to use evince to print the PDF to PDF (using a PDF-building printer driver or whatever evince uses), then feed that into LaTeX. That worked. My question is, how common is this? Is it going to become a mechanism to embed a tracking pixel like corporate assholes do with HTML email? I probably need to change my habits. I know PDF docs can serve as carriers of copious malware anyway. Some people go to the extreme of creating a one-time use virtual machine with PDF viewer which then prints a PDF to a PDF before destroying the VM which is assumed to be compromised. My temptation is to take a less tedious approach. E.g. something like:
I should be able to improve on that by doing something non-interactive. My first guess:
output:
Whatโs my problem? Better ideas? I would love it if attempts to reach the cloud could be trapped and recorded to a log file in the course of neutering the PDF. (note: I also wonder what happens when Firefox opens this PDF, because Mozilla is happy to blindly execute whatever code it receives no matter the context.) |
||
| 1 Original | |||
| Post Reply |
Back to top |