[ACCEPTED]-Font issue with PDFtk-pdftk
Accepted answer
I was getting the same java.lang.ArrayIndexOutOfBoundsException: 0
error using pdftk
to 9 fill forms on an Adobe Acrobat generated 8 PDF. This question is super old, but I couldn't 7 find a consistent answer on stackoverflow 6 or elsewhere so I figured I'd post my fix.
What ended up working for me:
- Opening the PDF in the OS X app Preview
- Clicking into a form field, adding text then deleting that text (so nothing is actually changed)
Saving 5 it
Running the PDF through
pdftk
again
I'm not 4 that familiar with encoding or PDFs in general, but 3 saving the PDF with Preview seems to fix 2 the encoding or at least get it to a place 1 where pdftk
can work with it. Good luck.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.