Closed zhd4n closed 4 years ago
Is it blank after signing or after adding a placeholder? Can you add an example PDF here? @z-h-z-h
Confirmed. Just checked it. plainAddPlaceholder
messes it up. Haven't found the reason yet.
Update: This is the obvious reason. The /Annots list is broken.
Update 2: This is a lesson for me. I didn't insist on having a function tested when it was altered. Now this same function is producing a bug. It's about createBufferPageWithAnnotation
.
@z-h-z-h I have created a working version of the buggy function but need to cover it with tests so can't merge yet.
I am on 1.2.2 and have the same issue. Signing my PDF spits out only blank pages.
Can you, @AuspeXeu, attach a source PDF and any intermediates you may. This would assist in finding the issue.
The content of my PDFs is sensitive, cannot disclose. Sorry :/
Having the same issue. The first page is blank, the second one is not.
@vemundeldegard can you attach an example PDF? Also if you could try what's in #59 ... @AuspeXeu you as well.
1.2.3 is out in npm. Hope it fixes this issue.
Happy to confirm that this is resolved for me with the latest version :)
Could you share the code used in the question?
@AuspeXeu Hi, what version works for you? our first page is blank only in acrobat but we are in 1.5.0. thanks
I am on the latest version and that's working fine for me.
I investigated this bug and found that after signing the PDF file will be empty if it contained any link to website. Also, if the link href contain # instead of address (like http://google.com) everything will be fine.