Skip to content

Commit

Permalink
Handle /Contents being an indirect array
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave authored and s3bk committed Jun 3, 2021
1 parent 390fec1 commit 0dcefd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pdf/src/content.rs
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ impl Object for Content {
parts.push(part);
}
}
Primitive::Reference(r) => return Self::from_primitive(t!(resolve.resolve(r)), resolve),
p => {
let part = t!(ContentStream::from_primitive(p, resolve));
let data = t!(part.data());
Expand Down

0 comments on commit 0dcefd4

Please sign in to comment.