diff options
author | Paul Gardiner <paul.gardiner@artifex.com> | 2018-07-16 13:33:59 +0100 |
---|---|---|
committer | Paul Gardiner <paul.gardiner@artifex.com> | 2018-07-17 14:57:57 +0100 |
commit | 709b4b95e1b30a62511234773fb53f75a40279f3 (patch) | |
tree | 8af592f96e85a461470ab94c20a40d20afffb618 /docs/examples/bbox-device.js | |
parent | 3d22bf8ba1c824f6722be63d9b5109fce56e076c (diff) | |
download | mupdf-709b4b95e1b30a62511234773fb53f75a40279f3.tar.xz |
Disallow incremental updating for documents that have hybrid xrefs
Alter pdf_can_be_saved_incrementally to return false when a hybrid xref
file has been opened. This doesn't enforce the behaviour, but will ensure
it for apps that determine their behaviour via this test function.
Once changes have been saved to such a file, it is no longer hybrid and so
further saving steps can use incremental updates.
This change was made because we were previously unable to sign hybrid xref
documents in a way that was satisfactory to Adobe Reader. Adobe Reader
reorganises hybrid xref files, thus invalidating any signature.
Diffstat (limited to 'docs/examples/bbox-device.js')
0 files changed, 0 insertions, 0 deletions