[
https://issues.apache.org/jira/browse/PDFBOX-3072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983352#comment-14983352
]
ASF subversion and git services commented on PDFBOX-3072:
---------------------------------------------------------
Commit 1711554 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1711554 ]
PDFBOX-3072: add missing /Type /Page when missing in page, as suggested by
Andrea Vacondio
> Allow missing page type
> -----------------------
>
> Key: PDFBOX-3072
> URL: https://issues.apache.org/jira/browse/PDFBOX-3072
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Andrea Vacondio
> Priority: Minor
> Attachments: relaxed_page_type.diff
>
>
> I came across a PDF document with missing type in the page dictionary.
> According to the spec that's required and PDFBox has a check and throws an
> IllegalState if the page is requested to the PDPageTree. Acrobat and other
> libs handle the same doc so I think the constraint could be relaxed a little,
> consider valid if type is Page or missing, and consider invalid if it's
> something else, what do you think?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]