Mark Stephens Mark has been working with Java and PDF since 1999 and is a big NetBeans fan. He enjoys speaking at conferences. He has an MA in Medieval History and a passion for reading.

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…



Are you a Developer working with PDF files?

Our developers guide contains a large number of technical posts to help you understand the PDF file Format.

Find out more about our software for Developers

Convert PDF to HTML5 or SVG Convert PDF to HTML5 or SVG
Convert AcroForms and XFA to HTML5Convert AcroForms and XFA to HTML5
Java PDF SDK for working with PDF files Java PDF SDK for working with PDF files
Mark Stephens Mark has been working with Java and PDF since 1999 and is a big NetBeans fan. He enjoys speaking at conferences. He has an MA in Medieval History and a passion for reading.

Leave a Reply

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

IDRsolutions Ltd 2021. All rights reserved.