https://bugs.documentfoundation.org/show_bug.cgi?id=160033

--- Comment #5 from tovrstra <[email protected]> ---
Reproducibility seems indeed not possible at this stage.

I've attached an example to show that there is more going on than just
different time stamps.

Steps to reproduce the example:

1. Export slide.odp to PDF twice.
2. Decompress streams in the two PDFs with `

mutool clean -d slide1.pdf tmp1.pdf
mutool clean -d slide2.pdf tmp2.pdf

3. Generate diff html with vim:

vimdiff tmp1.pdf tmp2.pdf -c TOhtml -c 'w! diff.html' -c 'qa!'

There are four points where the PDFs differ:

- A binary stream (length is also different).
- xmp:CreateDate tag.
- /CreationDate field.
- PDF Trailer ID, which is just a random blob.

As far as I understand, random trailer IDs are sometimes useful for document
tracking, but they are not critical.

It would be helpful to have an option to create reproducible PDFs, e.g. with a
command-line option, or to disable all variable parts when SOURCE_DATE_EPOCH is
set.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to