Skip to content

pdf comparator is not doing enough

I found a case where the PDF comparator does not seem able to actually find all the differences:

mattia@warren ..ducible/funding-misc/summits/hamburg24 (git)-[master] % cat sponsors2024.pdf|strings|grep mailto
<</Type/Annot/Subtype/Link/Border[0 0 0]/Rect[56.693 430.739 314.007 445.689]/Contents<FEFF0032003000320034002D00730075006D006D00690074002D007400650061006D0040006C0069007300740073002E0072006500700072006F00640075006300690062006C0065002D006200750069006C00640073002E006F00720067>/A<</Type/Action/S/URI/URI(mailto:2022-summit-team@lists.reproducible-builds.org)>>
mattia@warren ..ducible/funding-misc/summits/hamburg24 (git)-[master] % cat sponsors2024_1.pdf|strings|grep mailto
<</Type/Annot/Subtype/Link/Border[0 0 0]/Rect[56.693 430.739 314.007 445.689]/Contents<FEFF0032003000320034002D00730075006D006D00690074002D007400650061006D0040006C0069007300740073002E0072006500700072006F00640075006300690062006C0065002D006200750069006C00640073002E006F00720067>/A<</Type/Action/S/URI/URI(mailto:2024-summit-team@lists.reproducible-builds.org)>>
mattia@warren ..ducible/funding-misc/summits/hamburg24 (git)-[master] % diffoscope sponsors2024_1.pdf sponsors2024.pdf 
--- sponsors2024_1.pdf
+++ sponsors2024.pdf
│   --- sponsors2024_1.pdf
├── +++ sponsors2024.pdf
│┄ Document info
│ @@ -1,4 +1,4 @@
│  Author: 'Mattia Rizzolo'
│ -CreationDate: "D:20240804111020+09'00'"
│ +CreationDate: "D:20240711214641+02'00'"
│  Creator: 'Writer'
│  Producer: 'LibreOffice 24.2'
1 mattia@warren ..ducible/funding-misc/summits/hamburg24 (git)-[master] %

So the PDF has a real different the URL, but none of what the PDF comparator does shows the difference. Worse, it's hidden because there is one more difference (in the metadata), as such the hex fallback is not even triggered (which would have showed it).

I'm attaching the two files here.

sponsors2024_1.pdf

sponsors2024.pdf

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information