Pdftk Changelog

What's new in Pdftk 2.02

Aug 7, 2013
  • Added drop_xmp output option for removing the document XMP metadata stream from a PDF.
  • Added dump_data output of custom page data embedded by STAMPtk tool. See the embed option in STAMPtk for more information.
  • Improved PDF bookmark merging logic so it can handle more input cases.
  • Fixed a password bug where some 'upper-ASCII' characters weren't being mapped to the correct code points.
  • Fixed a 40-bit decryption bug introduced in version 2.00.
  • Fixed a bug in the bookmark merging logic that caused bookmarks to be omitted from the merged PDF.
  • Added a test to ensure that encryption passwords use permitted characters only. (Decryption attempts still allow a larger set of input characters.)
  • Rewrote the wide-to-utf8 code for Windows to make it more rigorous.
  • Organized our calls of JvInitClass() in main().
  • Added descriptions to some exception reports.
  • Reviewed some code from pdftk.cc, PdfReader.java, PdfWriter.java and friends.

New in Pdftk 2.01 (Jul 25, 2013)

  • Fixed an uncompress bug introduced in 2.00 that corrupted some image streams.

New in Pdftk 1.44 (Oct 30, 2010)

  • Added new feature for collating PDF page scans: shuffle. Please see the man page for usage details.
  • Introduced update_info_utf8, dump_data_utf8 and dump_data_fields_utf8 to provide UTF-8 companions to update_info, dump_data and dump_data_fields. These latter operations use XML numerical entities to encode non-ASCII characters. In version 1.43, we changed the encoding for update_info to UTF-8, but that made it incompatible with dump_data and also broke some downstream applications. By introducing these UTF-8 operations, we can revert update_info to its original behavior.
  • Burst feature now copies the metadata (including XMP) from the input file to the output pages.
  • Updated Bouncy Castle library to 1.45.
  • Removed or replaced third-party code that wasn’t compatible with pdftk’s GPL license.
  • Updated third-party license information.

New in Pdftk 1.43 (Oct 6, 2010)

  • Improved input handle detection to reduce false hits.
  • Improved keyword detection logic to eliminate false hits when input filenames happen to include pdftk keywords even, odd and end.
  • Added option of prompting the user for the output when bursting a PDF. Also reviewed other filename prompting code.
  • Changed the PDF parser to accept name tokens longer than 127 characters — the PDF Specification says that 127 is the limit. This isn’t related to file names. The issue arose with PDFs created by Acrobat Web Capture 9.0.
  • Fixed a problem with filling form choice fields in some PDFs where the old form value was ‘sticking.’
  • Changed pdftk behavior when handling subset fonts so it doesn’t alter font name "tags." This was causing printing problems with Acrobat 3.01 on Windows.
  • Fixed a stream parsing bug that was causing page content to disappear after merge of PDFs generated by Microsoft Reporting Services PDF Rendering Extension 10.0.0.0.
  • Added multistamp and multibackground features provided by a Debian patch — thanks!
  • Clear the signal mask as workaround to environments that turn off signals before calling pdftk. This problem is known to cause pdftk to hang in some Python web setups as well as in PHP.
  • Set locale to C as workaround to an unusual exception. This is a Debian patch. Please let me know if it causes any troubles.
  • Improved reporting of output errors via Debian patch — thanks!
  • Added support for UTF-8 data in update_info via Debian patch — thanks!
  • Added support for UTF-8 filenames via Debian patch — thanks!
  • Updated build procedure to work better with newer versions of GCC. Maintained compatibility with older versions of GCC.
  • Added license information to the source tree for the third-party libraries that pdftk uses.

New in Pdftk 1.41 (Jun 16, 2010)

  • Fixed a bug that corrupted output PDF xref tables. This corruption was mild but universal. Most PDF tools can cope with the corrupted PDFs, but I recommend upgrading from 1.40 to 1.41 as soon as possible. This bug was introduced in version 1.40 — version 1.12 does not have this bug.
  • Fixed a bug that prevented XFDF form data from being passed to pdftk via stdin.
  • Commented out some unused code from pdftk.cc.