Skip to content
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 Options (drop_xfa) #68

Closed
alwesam opened this issue Aug 22, 2018 · 1 comment
Closed

Missing Options (drop_xfa) #68

alwesam opened this issue Aug 22, 2018 · 1 comment

Comments

@alwesam
Copy link

alwesam commented Aug 22, 2018

I used the pdf-forms gem to populate a PDF file, which apparently had XFA data. The output file is not showing filled in form fields when I open it with Adobe Reader (no problem when a PDF viewer such as xpdf). The problem goes away when I add "drop_xfa" to the pdftk command, but AFAIK the gem doesn't support appending any options aside from flatten.

I made a small change in one of the source files (lib/pdf_forms/pdftk_wrapper.rb) where I enabled appending the "drop_xfa" option on my local branch and it's working.

Please advise. I can make a pull request with my changes. It seems that there are other missing options so they can be included too.

Thanks

@jkraemer
Copy link
Owner

jkraemer commented Sep 6, 2018

You can now use drop_xfa: true and drop_xmp: true options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants