Re:Ask HN: Why is the PDF format so inaccessible?
by 88913527 on Thursday May 05, 2022 @12:55AM
(#31269632)
When you put it like that, sounds like there's a log4j somewhere in there, easily.
Re:Ask HN: Why is the PDF format so inaccessible?
by 14u2c on Thursday May 05, 2022 @03:19AM
(#31270547)
There have been many. Acrobat CVEs were a dime a dozen in the 2010s
Re:Ask HN: Why is the PDF format so inaccessible?
by simondotau on Wednesday May 04, 2022 @08:55PM
(#31268016)
You can embed flash in PDF?!?
Re:Ask HN: Why is the PDF format so inaccessible?
by d4mi3n on Wednesday May 04, 2022 @08:58PM
(#31268050)
In the good old days you could embed executable code in a PDF. Interactive flash games. Java applets.
Sanity has prevailed and a lot of that just doesn’t work anymore, but IIRC Adobe wanted PDF to be “the” file interchange format.
Re:Ask HN: Why is the PDF format so inaccessible?
by Finnucane on Wednesday May 04, 2022 @09:35PM
(#31268303)
And those weren’t even things when the PDF was first created.
Re:Ask HN: Why is the PDF format so inaccessible?
by bkuehl on Wednesday May 04, 2022 @10:44PM
(#31268754)
We recently had a ticket from a user where an uploaded PDF wouldn't load in browser (Chrome). Turns out the PDF had embedded Flash content. I was blown away that in 2022 some application somewhere was still embedding Flash in their PDFs.
Re:Ask HN: Why is the PDF format so inaccessible?
by aaaaaaaaata on Thursday May 05, 2022 @01:17AM
(#31269793)
I'd count yourself lucky whatever that spooky shit was couldn't execute!
Re:Ask HN: Why is the PDF format so inaccessible?
by perardi on Wednesday May 04, 2022 @09:46PM
(#31268385)
Yeah, I had forgotten that when I was looking through the version history. I remembered most of those features, but when I saw Flash, I had to sit and slowly blink for a minute.
(A lot of those “interactive” features are exposed in Adobe InDesign, hence my passing, regrettable familiarity.)
Re:Ask HN: Why is the PDF format so inaccessible?
by airbreather on Thursday May 05, 2022 @12:20AM
(#31269421)
Yu can embed all multimedia types, plus internally attach files like xls, or whatever you want.
This part of the reason it's such a security nightmare.
https://github.com/foliojs/pdfkit
As to why it’s so inaccessible…because Adobe created this monstrosity to do just about everything. Text, fonts, vector graphics, raster graphics, forms, color spaces, JavaScript, encryption, signatures, 3D artwork, video, audio, Flash, and probably more. It’s bonkers as to what it can possibly include, and it was developed during a way different time.