4 ms·
As for libraries, it seems PDFKit is the dominant one. https://github.com/foliojs/pdfkit https://github.com/foliojs/pdfkit As to why it’s so inaccessible…beca
by perardi 4y ago
As for libraries, it seems PDFKit is the dominant one.
https://github.com/foliojs/pdfkit 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.
- simondotau 4y agoYou can embed flash in PDF?!?
- d4mi3n 4y agoIn 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.
- Finnucane 4y agoAnd those weren’t even things when the PDF was first created.
- perardi 4y agoYeah, 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.)
- bkuehl 4y agoWe 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.
- aaaaaaaaata 4y agoI'd count yourself lucky whatever that spooky shit was couldn't execute!
- airbreather 4y agoYu 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.
- 88913527 4y agoWhen you put it like that, sounds like there's a log4j somewhere in there, easily.
- 14u2c 4y agoThere have been many. Acrobat CVEs were a dime a dozen in the 2010s