Live data from Hacker News

Preview in macOS Big Sur is destroying PDFs

annoying.technology

141–150 of 326 posts

Re: Preview in macOS Big Sur is destroying PDFs

#141
post #21

Why anyone treats PDF as anything but a write-once format is beyond me. It's so finicky that I'm not shocked bugs like this happen. The only programs I'd be reasonable sure wouldn't screw it up are Acrobat itself, and pdflatex and friends. I think we need a multi-image container format. It could be something that's literally a bunch of jpgs/pngs/pick your poison in a tar container, and given a new extension. OSes wou…

CBR and CBZ for comics fits this I think?

Re: Preview in macOS Big Sur is destroying PDFs

#142

I find posts like this completely pointless when they include no details at all. This is just "there's an incompatibility between third-party software and a version of macOS that the third-party software says they don't support yet, so I'm going to publicly criticize Apple". If you're not going to do the work to figure out what the corruption is, at least include the two PDFs so other people can look at them and see…

> If you're not going to do the work to figure out what the corruption is …

I'm sorry, but last time I checked neither Apple nor ABBYY pay my salary. I really don't understand these takes. If Apple or ABBYY want my PDFs, they should be able to find my email address rather easily. Your tl;dr version of the post is completely unfair. I publicly criticize Apple because they are breaking something that potentially affects a lot of people who are unlikely to even know about it, and they are doing it for at least the second time now. If you don't think that's worthy of criticism, I don't know what is.

I also love how so many people assume I didn't already talk to support and file radars. I guess you had better luck in the past than me, but I can assure you, these options aren't always as useful as you might think they are.

Re: Preview in macOS Big Sur is destroying PDFs

#143

Earlier quoted context omitted.

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. For example, I personally like to purchase books that are in PDF format, not epub/mobi. I want to rely on professional typesetting from the publishers, not some front-end engineer's vision of what the ebook should look like a…

What device do you use to read PDF's?

I use an ipad pro for reading pdf textbooks. The high refresh rate screen makes it more pleasant to use than the android tablets I’ve tried. Also the iOS books app is great, if a little bloated by the store half

Re: Preview in macOS Big Sur is destroying PDFs

#144
post #24

Earlier quoted context omitted.

How? I assume it's mostly using proprietary MacOS APIs, and, ignoring that it doesn't really matter beyond apple being an abusive partner, lawyers are a powerful tool ( This software is under the Apple don't take the piss licence )

Assuming the License is that restrictive, only those who are financially invested in Preview working well (and only on macOS) will have any incentive to contribute code. I can't think of any company other than Apple that fit this description.

Apple fanboys, and also having the code be public puts pressure on you for it to be good.

Re: Preview in macOS Big Sur is destroying PDFs

#145
post #56

Earlier quoted context omitted.

Yes, it is in principle possible that Apple was doing something special to support bad PDFs produced by ABBY which they then removed. If this is what happened, I would agree with you. But, there is no evidence yet that they removed anything. It’s quite possible (I’d say likely) that ABBY’s PDFs were corrupt all along. Preview may have tolerated them not because of a special feature which was then removed, but because…

The trouble is the PDF specification is vague and ambiguous in a number of areas. This has resulted in a lot of ill formed documents. If you are going to write a PDF reader then you are going to have to accept those documents and not corrupt them. Even if ABBY does have a bug and fixes it then people will still have a bunch of older documents they will want to read.

This is mostly accurate, however it is an idealization to suggest that you can accept and not corrupt all of the ill-formed documents.

This is in principle impossible.

If it turns out that there is a widespread problem with many kinds of document that no longer work properly, I’ll be more inclined to say Apple is at fault.

But as it stands, it just seems like ABBY has been producing bad PDFs.

Re: Preview in macOS Big Sur is destroying PDFs

#146
post #114
post #73

Earlier quoted context omitted.

How do you know it worked properly?

The first paragraph and image in the article. When the author copied the text from FineReader's PDF and pasted it in TextEdit, it had the correct text. When the author tried that with preview's pdf, it pasted garbled data.

That doesn’t mean there wasn’t file corruption.

Re: Preview in macOS Big Sur is destroying PDFs

#147

Earlier quoted context omitted.

What device do you use to read PDF's?

I personally use an iPad. It's amazing for it. Especially when you use the Apple Pencil to highlight text, make annotations like circles or question marks, etc.

I struggled to find good software for this. Is there a specific app you recommend?

Re: Preview in macOS Big Sur is destroying PDFs

#148

Earlier quoted context omitted.

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. For example, I personally like to purchase books that are in PDF format, not epub/mobi. I want to rely on professional typesetting from the publishers, not some front-end engineer's vision of what the ebook should look like a…

What device do you use to read PDF's?

A computer.

I started off my "learning more than what you get taught in school" reading PDFs on a tiny phone, I now do it on a bigger phone, a big DPI monitor etc. none of these platforms makes a blind bit of difference to me because my eyes aren't the bottleneck.

Re: Preview in macOS Big Sur is destroying PDFs

#149

Earlier quoted context omitted.

> PDF runs software and that means that everything under the sun including malware and DRM can run on PDF -- and indeed that has occurred many times. You can basically avoid this problem by only opening PDFs in programs like Preview and Evince, and never Acrobat.

Not really: https://www.cvedetails.com/product/23592/Gnome-Evince.html

Having vulnerabilities is never great. However, this is a separate issue from whether the PDF reader explicitly allows code execution or supports some of the more obscure PDF extensions, which is what the parent was talking about.

Re: Preview in macOS Big Sur is destroying PDFs

#150
post #21

Why anyone treats PDF as anything but a write-once format is beyond me. It's so finicky that I'm not shocked bugs like this happen. The only programs I'd be reasonable sure wouldn't screw it up are Acrobat itself, and pdflatex and friends. I think we need a multi-image container format. It could be something that's literally a bunch of jpgs/pngs/pick your poison in a tar container, and given a new extension. OSes wou…

> Why anyone treats PDF as anything but a write-once format is beyond me.

Hahaha. Quite a lot of people around me think that PDF is a collection of JPEGs glued together (because they mostly see PDF as scanned non-OCRed docs).

Post reply on HN