Mark Stephens

Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX.

He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.

How likely is this to happen in a PDF file

19 sec read

As we all know, a PDF file contains a lot of PDF objects (with numbers) at specific byte offsets in the file. Recently we came across some PDF files where the file contained some bum references – the byte offset and the PDF object number were identical. Adobe correctly ignores these objects. So we ignored entries where the values were identical. How likely was this to happen, we thought?

I have just modified this code to check more carefully after we found a PDF file where object 16 started at byte offset 16…

Mark Stephens

Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX.

He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.

Leave a Reply

Your email address will not be published. Required fields are marked *