Copy link to clipboard
Copied
Hi,
I've seen variations of the disappearing digital signature problem on here, but I haven't seen mine.
I have a PDF with a signature form field. I click the field and sign/save the document. The signature shows up in the Signature Panel, and the blue "Signed and all signatures are valid." banner appears up top. When the PDF is closed and re-opened, the signature disappears from the Signature Panel and the signature text disappears. The form field is still there but hidden until it's moused over.
- I'm using Acrobat Standard Version 2022.003.20314 | 64-bit
- I've updated/repaired/reinstalled to no avail.
- This happens for any document with a form field like this
- It's the same issue for coworkers
- I think this started a month or two ago. I can't say for sure since I found out about it from others opening the PDFs.
- If I open the PDF in Chrome, it does show the text of the signature.
My steps:
1) I have a PDF needing a signature created in AutoCAD.
2) I run another application which adds the signature form field in question along with seals, text, etc.
- It's possible that something is wrong with the form field at this phase, but the issue doesn't pop up until the end in Acrobat.
3) I open the PDF in Acrobat.
4) I click the signature field which prompts my signature
5) I sign and save the PDF, and everything looks good.
6) I close and reopen the PDF in Acrobat, and then it's not the same.
I attached relevant files to show the issue.
Initial.pdf - Base PDF before anything is added
Initial_withSigField.pdf - After the signature form field is added before I click sign
signed.jpg - What it looks like in Acrobat after I've signed Initial_withSigField.pdf
Final.pdf - After saving and closing with the signature lost.
Thank you so much for the assistance!
Copy link to clipboard
Copied
Hi,
Well, I don't have Acrobat Standard, but I tested your PDFs with Acrobat Pro DC and encountered the same issue.
I am not sure if you were aware that for the past three years Adobe have been announcing end of support for Type 1 Fonts.
See here:
I was able to see this clearly when I try to edit your PDF and add another field object. The signature field together with the new object disappeared and didn't save the changes at all.
So, I opened both your original "PDF Final" document and compared the Document Properties against my edited copy, and indeed, the Type 1 Font was not substituted nor embedded ... everything just disappeared (and I also opened the same test file with a web browser and nothing there).
Only the Tahoma True Type Font appeared embedded in my blank test document but no signature field whatsoever (completely gone).
This in particular, may be related to a lost security restriction after the PDF was processed with PdfPig (just guessing in the blind here).
So, this brings me to ask you if the .Net library that PdfPig is using to produce PDFs is up to date to its latest version.
But in particular, see this wiki of PdfPig with emphasis on Document Creation that was posted in GitHub:
"
The PdfDocumentBuilder
creates a new document with no pages or content. First, for text content, a font must be registered with the builder. Currently this supports Standard 14 fonts provided by Adobe by default and TrueType format fonts.
To add a Standard 14 font use:
public AddedFont AddStandard14Font(Standard14Font type)
Or for a TrueType font use:
AddedFont AddTrueTypeFont(IReadOnlyL
That said, see this other link at the beginning of the same topic:
My main question is if you had PDF that was created in Acrobat first with a digital signature field using the Prepare Form tool; and then you signed the PDF document immediately before PdfPig produced the final PDF document?
If that was the case, I would say to produce the PDF first with PdfPig, and lastly certify the document with a digital signature using the Certificates tool instead.
Copy link to clipboard
Copied
Wow, now that's impressive! The documents are passed through PdfPig, but PdfPig doesn't touch it after it's signed. I'll elaborate on that part of the process.
1) I recieve the document in need of signature. By default, they contain 30 or so fonts. I used one of those to create the files I uploaded earlier just with the contents removed.
2) I use another tool to add stamps, texts, and the signature fields.
3) .NET processing is complete. The Initial_withSigField.pdf is what it would look like at the end. I then open the document in Acrobat and click the field to sign.
For some of these I'll skip the clicking the field phase and just add the digital signature directly with the .NET tool, and those ones work fine. The signatures persist after closing/re-opening. Also, if I omit the form field and sign via the Certificates tool instead, that also persists after closing/re-opening. So that'll be the fallback option.
Copy link to clipboard
Copied
Very interesting.
Copy link to clipboard
Copied
Thank you for your answer. If it's my other tools and not Acrobat, it's helpful to narrow it down.
Copy link to clipboard
Copied
You're welcome.
Copy link to clipboard
Copied
There are a number of errors in your Initial_withSigField.pdf file, in particular:
This results in a number of errors in Final.pdf, too, a garbage-in, garbage-out situation. All one can blame Adobe Acrobat for in this context, is that it attempts to sign this broken structure instead of rejecting it.
Copy link to clipboard
Copied
Great information Mike!
This is a whole new learning curve for me.
Copy link to clipboard
Copied
Thank you for the detailed reply. I'll investigate further with this in mind.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
"Printing" a PDF, even "as an Adobe PDF", automatically removes digital signatures. Depending on the field flags, it may leave the signature appearance in the file. But the resulting PDF is not protected by a digital signature anymore.
Copy link to clipboard
Copied
Thanks for sharing, I was not aware. I just needed to save the file to an archive and the signature remained on the PDF with the notations that it was signed digitally. I can understand how that would not be sufficient in other situations.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now