We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there, I found an error while parsing PDF.
When parsing a PDF file containing an empty object like following,
14 0 obj << >> endobj ... /Resources 14 0 R
I got /Resources 0 0 R. PDF file does not contain 0 0 obj, so the PDF is broken. I suspect a bug in this method. https://github.com/boazsegev/combine_pdf/blob/master/lib/combine_pdf/renderer.rb#L92
/Resources 0 0 R
0 0 obj
pdf_data = ::CombinePDF.parse(File.read(pdf_file)).to_pdf
After this, I opened pdf by Acrobat Reader, and I found an error.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there, I found an error while parsing PDF.
When parsing a PDF file containing an empty object like following,
I got
/Resources 0 0 R
.PDF file does not contain
0 0 obj
, so the PDF is broken.I suspect a bug in this method.
https://github.com/boazsegev/combine_pdf/blob/master/lib/combine_pdf/renderer.rb#L92
Steps to reproduce
pdf_data = ::CombinePDF.parse(File.read(pdf_file)).to_pdf
After this, I opened pdf by Acrobat Reader, and I found an error.
The text was updated successfully, but these errors were encountered: