-
-
Notifications
You must be signed in to change notification settings - Fork 614
New issue
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
Missing PDFDictionary entry "Parent" (Copying PDF page with some annotations) #138
Comments
Hello @tema4p! I'm glad you are finding pdf-lib useful. I look forward to your feedback. I was able to reproduce this issue. It looks like the problem is caused by some page objects missing a required key ( I'll work on a fix for this. I'll try to get it published within a couple of days. However, the the beta release doesn't have this problem, and is able to copy the PDF without any errors. I'd recommend you try it out. |
I just released version You can install it with
or yarn:
It's also available on the unpkg CDN: |
@tema4p Please let me know if the fix works for you. |
@Hopding Thank you a lot! |
Hi guys, I really appreciate your efforts in making our world better, at least with PDF part.
I worked a lot with your library (as well as with PDFAssembler) and will add some feedback soon.
But I've met some strange error when trying to copy from or add to pages to PDF files with some annotations.
test_text_annot.pdf
I use pdf-lib (0.6.3) in browser, investigated the issue and reviewed your code, but still can't figure out the problem, please help.
ERROR Error: Missing PDFDictionary entry "Parent".
I'll continue investigating and any support here would be great, thanks!
The text was updated successfully, but these errors were encountered: