4 ms·
The same could be said for the Microsoft Office file formats. Or PSD, for that matter.
by SmellyGeekBoy 8y ago
The same could be said for the Microsoft Office file formats.
Or PSD, for that matter.
- tonyedgecombe 8y agoThe Office formats are well specified, they are complex because that is the nature of the software but it is a world away from something like PSD or even PDF.
- Quarrelsome 8y agoold binary formats were pretty insane though. Lots of magic to pull the file size down.
- gpvos 8y agoPDF is actually quite well specified, there are not many holes in the specification itself.[0] As to what Adobe Reader will do when it encounters an out-of-spec file, that is a lot fuzzier. On the other hand, the Office file formats (especially Word) have many un- or underspecified cases. [0] The only one I know of is finding the end of compressed inline image data.
- tonyedgecombe 8y agoI found quite a few areas that were vague when I was working with it. The advantage of the office formats is they are Zip files with a ton of XML, ie they are well defined. The application parts are another matter of course.
- BlackFingolfin 8y agoJust because something is XML doesn't mean it is "well-defined".
- tonyedgecombe 8y agoNo, but XML parsing is a solved problem, PDF parsing isn't.
- tinus_hn 8y agoThe original criticism was that some parts are just binary blobs encoded in XML elements, which wouldn’t suprise me at all, with Microsoft being allowed to tick the ‘XML file format’ checkbox and still getting to keep the binary format advantages.
- gpvos 8y agoI see. I was mostly referring to semantic problems, of which I heard there are a lot (I haven't really worked with Office internals much), and also I was thinking of the pre-XML Office formats.
- hnick 8y agoI agree, the PDF spec is great, and very easy to understand (if slow to wade through). The hardest parts are when you have to duck out to read another spec for a contained format like TrueType. Regarding Reader, I work with PDFs a lot, and the majority of issues have a fairly common pattern. The supplier has created a PDF in a 3rd party tool, which is invalid in a subtle way (production printers in particular are very specific about what they want to accept). But it works fine in Adobe Reader, since it was built to be very tolerant in what it accepts, so it's often hard to convince the non-technical users that the file has an issue. It's great for end users but has meant that a lot of tools out there just didn't have to try too hard to make PDFs that mostly work, so programming workflows can be an issue.
- brendyn 8y agoI remember reading in the past that Microsoft had corrupted the ISO standards body to publish essentially fake standards that were different to what MS Office actually produced, so software like Libreoffice would output files that didn't work properly in Office or visa versa. Are you saying that now this is not the case and they are full specified? I sometimes tell people about this so I want to make sure I have my facts straight.