You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Michael Klink (Jira)" <ji...@apache.org> on 2022/03/01 09:02:00 UTC
[jira] [Commented] (PDFBOX-5382) Detect gaps in cross reference table
[ https://issues.apache.org/jira/browse/PDFBOX-5382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17499405#comment-17499405 ]
Michael Klink commented on PDFBOX-5382:
---------------------------------------
{quote}In the SO answer you wrote "gaps with unmapped object numbers are not allowed"{quote}
But in the first table the object number 5 _is_ mapped: It is mapped into the free object list. In the second table it is unmapped.
But the PDFBox cross reference {{Map}} ignores free list mappings and only contains mappings to offsets. (If I understand it correctly, that is.)
> Detect gaps in cross reference table
> ------------------------------------
>
> Key: PDFBOX-5382
> URL: https://issues.apache.org/jira/browse/PDFBOX-5382
> Project: PDFBox
> Issue Type: Improvement
> Components: Signing
> Affects Versions: 2.0.25
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.26, 3.0.0 PDFBox
>
>
> Detect PDF files with gaps in the cross reference table because these may fail validation in Acrobat Reader, see related SO answer.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org