https://bugs.documentfoundation.org/show_bug.cgi?id=66580
Dave Gilbert <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #25 from Dave Gilbert <[email protected]> --- Two thoughts about the use of trailers: a) Without a trailer, I don't understand how a hybrid loader is supposed to understand that a PDF embedded file is actually a hybrid PDF rather than just a PDF that happens to have an attached; A PDF could have loads of embedded files and none of them actually represent the same contents as the PDF (e.g. maybe include raw data spreadsheets or something with an explanatory PDF). b) caolanm's performance hack - 'detectHasAdditionalStreams' from ~2023 - sniffs the trailer at the end of the file to make a quick detection about whether it might be a hybrid. So if the use of the trailer disappears you lose that performance trick. (Oh, and does anyone understand why we have the /DocChecksum ? Was that intended to detect if the pdf and hybrid diverge due to an external editor?) -- You are receiving this mail because: You are the assignee for the bug.
