Skip to content

Accept xref streams with the type field not present.#43

Open
olpa wants to merge 1 commit intomfenniak:trunkfrom
olpa:trunk
Open

Accept xref streams with the type field not present.#43
olpa wants to merge 1 commit intomfenniak:trunkfrom
olpa:trunk

Conversation

@olpa
Copy link

@olpa olpa commented Jul 23, 2012

pyPdf can't parse a cross-reference stream unless the whole triple is given for its entries. But at least from PDF 1.6:

A value of zero for an element in the W array indicates that the corresponding field
is not present in the stream, and the default value is used, if there is one. If the first
element is zero, the type field is not present, and it defaults to type 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant