HummusJSSamples icon indicating copy to clipboard operation
HummusJSSamples copied to clipboard

Acrobat Reader does not display values filled by HummusJs pdf-fill-form

Open tonybranfort opened this issue 5 years ago • 11 comments

I'm trying to figure out why Acrobat Reader doesn't display values filled with HummusJS and pdf-form-fill.js. I can open the pdf in Chrome and see the filled field as expected but not when I open in Acrobat Reader. Clicking in the field also does not get the value to display.

Using:

  • The code in this sample (HummusJSSamples/filling-form-values) latest commit (6261ead). With one modification: .TD(0,4.5) added to writeAppearanceXObjectForText in pdf-form-fill.js to fix alignment as per #12. But same issue even without that modification.
  • Adobe Acrobat Reader DC Version 2018.011.20063
  • Chrome Version 69.0.3497.100

Pdf with filled field (2.a. Family Name of Attorney) g-28-out.pdf

tonybranfort avatar Sep 25 '18 15:09 tonybranfort