You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2015/02/11 22:43:11 UTC

[jira] [Created] (PDFBOX-2679) Blank page rendered with wrong xref start objid

Tilman Hausherr created PDFBOX-2679:
---------------------------------------

             Summary: Blank page rendered with wrong xref start objid
                 Key: PDFBOX-2679
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2679
             Project: PDFBox
          Issue Type: Bug
          Components: Parsing
    Affects Versions: 2.0.0
            Reporter: Tilman Hausherr


>From Kevin M. on the users mailing list:
A confidential file doesn't display its image because the objid is unaccessible, due to a malformed xref table:
{code}
xref
1 7
0000000000 65535 f
0000000009 00000 n
0000358745 00000 n
0000358842 00000 n
0000359029 00000 n
0000359087 00000 n
0000359138 00000 n
trailer 
{code}
The first number (1) means the number of the first object. So it would be 1. The second number(7) is the size of the table. The number 1 is incorrect, it should be 0, because "0000000000 65535 f" is the dummy object 0.
>From the pdf spec:
{quote}The free entries in the cross-reference table form a linked list, with each free entry containing the object number of the next. The first entry in the table (object number 0) is always free and has a generation number of 65,535; it is the head of the linked list of free objects {quote}
The error messages are:

Can't find the object 7 0 (origin offset 359138) 

 Missing XObject: Im1   (Im1 is the object at 7 0, and is the missing image)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org