News for hackers. Stuff that matters.
Re:Preview in macOS Big Sur is destroying PDFs by wtallis on Wednesday December 16, 2020 @05:25PM (#25449630)
> PDF is one of the best things IMO - it's like a docker container for documents. The way the original authors intended it to be, including fonts and all the things that go into making a document.

Sounds like you want the PDF/A standard for archiving: https://en.wikipedia.org/wiki/PDF/A

It forbids embedding audio and video and JavaScript, requires embedding all the fonts, forbids encryption and patent-encumbered compression. It's basically the PDF format with the most regrettable features stripped out.

Re:Preview in macOS Big Sur is destroying PDFs by Terretta on Wednesday December 16, 2020 @06:25PM (#25450183)
That PDF/A URL surprised me.

Curiously, Wikipedia doesn't think it's a page or a subpage.

https://en.wikipedia.org/wiki/Special:PrefixIndex/Wikipedia:...

Re:Preview in macOS Big Sur is destroying PDFs by MrSomeone on Wednesday December 16, 2020 @06:45PM (#25450352)
Wikipedia has subpages disabled in the main article namespace, which makes slashes in article names possible.

https://en.wikipedia.org/wiki/WP:TITLESLASH

Re:Preview in macOS Big Sur is destroying PDFs by opheliate on Wednesday December 16, 2020 @06:41PM (#25450307)
I think the reason it's not appearing there is because you're looking in the "Wikipedia:" namespace, which is actually used for meta pages, not articles (e.g: https://en.wikipedia.org/wiki/Wikipedia:FAQ).

Searching under the Article namespace (which contains the actual contents of the encyclopedia), it is included: https://en.wikipedia.org/wiki/Special:PrefixIndex/PDF

Re:Preview in macOS Big Sur is destroying PDFs by sim_card_map on Wednesday December 16, 2020 @09:53PM (#25451842)
We now have JavaScript in PDFs?..
Re:Preview in macOS Big Sur is destroying PDFs by hedora on Wednesday December 16, 2020 @11:02PM (#25452306)
Of course. Postscript was turing complete, which makes it problematic for document interchange and printing, so they restricted it and called the result “pdf”.

At some point people realized they couldn’t embed arbitrary scripts in pdf files, so they added JavaScript.

Now we have the best of both worlds. It makes perfect sense if you think about it(?)

Re:Preview in macOS Big Sur is destroying PDFs by franga2000 on Thursday December 17, 2020 @04:03AM (#25453887)
Oh how I envy your ignorance... :)

Jokes aside, yes, we certainly do, and it is every bit is horrible as you might imagine and then some. I've seen people basically re-create spreadsheets in it, with the not entirely unexpected effect of updating the values taking up to 20 seconds.

Re:Preview in macOS Big Sur is destroying PDFs by cratermoon on Wednesday December 16, 2020 @10:04PM (#25451926)
We have for a long time, except it was called "ActionScript", and was used for another Adobe product: Flash animations.