cpdf-source/Changes

144 lines
5.1 KiB
Plaintext
Raw Normal View History

2022-04-03 11:31:36 +02:00
2.6 (next version, to come)
2022-09-09 18:59:46 +01:00
New features:
2022-07-15 16:48:51 +01:00
2022-09-20 14:55:38 +01:00
o Embed TrueType fonts with -font-ttf for -add-text et al.
2022-09-21 20:36:14 +01:00
o Embed the 14 standard fonts
2022-08-07 19:01:33 +02:00
o Add links to parts of text with -add-text as %URL[|].
2022-09-09 18:59:46 +01:00
Extended features:
2022-04-03 11:31:36 +02:00
o Allow -utf8 with -split-bookmarks -o @B.pdf to produce UTF8 filenames
2022-05-09 15:48:27 +01:00
o -merge-add-bookmarks now works with unicode filenames
2022-07-15 16:48:51 +01:00
o Better transformation of some annotation types
2022-04-03 11:31:36 +02:00
2022-08-15 19:37:51 +01:00
Fixes:
o Updated Yojson to remove dependency on Stream, ready for OCaml 5
2022-08-19 20:27:33 +01:00
2022-01-31 12:39:12 +00:00
2.5.1 (January 2022)
o Fix a regression where standard fonts could not be chosen
2022-08-19 20:27:33 +01:00
2022-01-09 14:57:06 +00:00
2.5 (January 2022)
2021-07-23 16:26:07 +01:00
2021-12-15 10:46:59 +00:00
New features:
o Can read as well as write PDFs in JSON format with -j
2021-11-24 17:44:23 -08:00
o New operation -typeset typesets a text file as a PDF
2021-11-18 14:48:25 -08:00
o New operation -table-of-contents makes table of contents from bookmarks
2021-12-15 13:01:51 +00:00
o New operations -impose and -impose-xy for document imposition
2021-11-03 16:05:53 +00:00
o New operation -print-font-table gives (charcode, unicode, glyph name) triples
2021-10-29 15:09:21 +01:00
o New -print-dict-entry operation prints values for a given key
2021-10-28 17:06:46 +01:00
o New -replace-dict-entry function to search & replace e.g URLs
2022-01-08 14:26:54 +00:00
o Prepend e.g 2DUP to a page range to make 1,2,3 --> 1,1,2,2,3,3 etc.
2021-12-15 10:46:59 +00:00
o Prepend NOT to a page range to invert it
2021-10-27 17:36:42 +01:00
o Output annotations in JSON form with -list-annotations-json
2021-10-27 14:04:10 +01:00
o Output bookmarks in JSON format with -list-bookmarks-json
o Load bookmarks in JSON format with -add-bookmarks-json
2021-10-21 18:10:47 +01:00
o New option -collate to collate pages when merging
2021-12-15 10:46:59 +00:00
o Text added in existing fonts is now encoding-aware (plus new raw mode)
Extended features:
o Extend -remove-dict-entry to allow search
2021-12-17 15:25:15 +00:00
o Annotation /QuadPoints processed in addition to /Rect when transforming pages
2021-12-15 10:46:59 +00:00
o When adding text or graphics, may choose CYMK or Grey instead of RGB
o The -list-fonts operation now obeys the range
o Can now search for a font by real name with -font
o Basic merging of AcroForms when merging documents
2021-12-15 13:01:51 +00:00
o Add -idir-only-pdfs to restrict -idir to just files ending in .pdf
2021-12-18 16:36:56 +00:00
o Option -debug-force now properly documented as -decrypt-force
2021-12-15 10:46:59 +00:00
Internal changes:
2021-10-19 19:26:02 +01:00
o Switch to Yojson for faster/better JSON input/output
2021-07-23 16:26:07 +01:00
o Environment variable CPDF_REPRODUCIBLE_DATES for testing
2021-08-10 20:11:20 +01:00
o Environment variable CPDF_DEBUG for -debug
2021-07-23 16:26:07 +01:00
o Effectively make stderr unbuffered
2021-12-19 12:56:37 +00:00
o Split cpdf.ml into separate modules
2021-07-23 16:26:07 +01:00
2021-12-15 10:46:59 +00:00
2021-07-23 16:26:07 +01:00
2.4 (June 2021)
2020-12-11 14:13:24 +00:00
o New operation -extract-images
2021-06-21 15:44:47 +01:00
o New operation -output-json et al. to export PDF files in JSON format
o New operations to manipulate Optional Content Groups
o New operation -stamp-as-xobject to add one PDF as an xobject in another
2020-03-02 13:39:37 +01:00
o Optional Content Groups now preserved when merging / stamping pages
2021-06-22 20:52:05 +01:00
o Listing, coalescing and modfiying Optional Content Groups.
o New -labels-progress option to improve page labels interface
2020-07-21 12:28:32 +01:00
o Appearance streams transformed when transforming annotations
2021-06-20 17:30:14 +01:00
o Bookmark destination positions transformed when transforming pages
2021-06-21 15:44:47 +01:00
o No longer depends on Bigarray or Unix modules
2021-12-15 10:46:59 +00:00
2021-07-23 16:26:07 +01:00
2.3 (patchlevel 1, December 2019)
2019-12-12 12:30:26 +00:00
o Fixed bug which prevented -info working on encrypted files
o Allow -shift with -add-text for additional adjustment
o Prepend and postpend directly to page content streams
2021-12-15 10:46:59 +00:00
2021-07-23 16:26:07 +01:00
2.3 (October 2019)
2019-06-26 15:36:21 +01:00
o Directly set and remove Trim, Art, and Bleed boxes
2019-07-15 13:42:32 +01:00
o Dump attachments to file
o Extended bookmark format, preserving all bookmark information
2019-08-10 11:03:02 +01:00
o New -pad-with, -pad-mutiple-before options
2019-07-15 13:42:32 +01:00
o Set or create XMP metadata
2019-08-10 11:03:02 +01:00
o Remove graphics clipping
2019-07-15 13:42:32 +01:00
o Extended support for reading malformed files
o Embed missing fonts by calling out to gs
o Set bookmarks open to a given level
o Create PDF files from scatch
o Remove single images by name
2019-08-10 11:03:02 +01:00
o Add trim marks
2019-06-26 15:36:21 +01:00
2021-12-15 10:46:59 +00:00
2021-07-23 16:26:07 +01:00
2.2 (patchlevel 1)
2017-09-01 17:47:22 +01:00
o Fix for inability to read null objects in streams
o Workaround for Adobe "Error 21" on re-saving encrypted files
2017-05-29 15:30:08 +01:00
o More efficient bookmark operations on files with many pages
o New operation -hard-box to clip contents to a given box
2021-12-15 10:46:59 +00:00
2021-07-23 16:26:07 +01:00
2.2 (March 2017)
2014-12-02 15:12:28 +00:00
o Perform arithmetic on dimensions when specifying size or position
2016-11-06 12:57:46 +00:00
o Add simple rectangles to PDF to blank things out
o Stamping operations now preserve annotations
o Decryption fully on-demand for speed.
2014-12-02 15:12:28 +00:00
o -keep-l keeps existing linearization status
2015-01-22 19:16:56 +00:00
o -remove-dict-entry to remove the contents of a dictionary entry
2015-01-20 15:50:36 +00:00
o -topline in addition to -midline
2015-01-22 19:16:56 +00:00
o -producer and -creator may be used to alter producer and creator
in conjunction with any other operation
2015-02-17 15:48:00 +00:00
o -topline and -midline now apply to stamps
2016-11-04 15:57:28 +00:00
o -list-spot-colours
2016-11-06 12:57:46 +00:00
o -bates-at-range and -bates-pad-to
o -print-page-labels
o -squeeze replaces smpdf
o Preserve more sharing of data when doing merges and page alterations
2014-12-02 15:12:28 +00:00
2021-12-15 10:46:59 +00:00
2021-07-23 16:26:07 +01:00
2.1 (December 2014)
2014-10-29 16:30:25 +00:00
2014-10-30 10:35:55 +00:00
o Encryption now much, much faster
2014-10-29 16:30:25 +00:00
o Faster parsing of delayed object streams on large files
o -decompress now leaves object streams decompressed
o Select pages by landscape-ness or portrait-ness in a page range
2014-11-18 15:16:11 +00:00
o New -open-at-page and -open-at-page-fit option to set the open action
2014-10-29 16:30:25 +00:00
o New -recrypt option to re-encrypt output
2014-10-30 10:35:55 +00:00
o Reads XMP metadata and outputs it on -info
2014-10-29 16:30:25 +00:00
o New -center position for text
o -stamp can now use positions, just like stamping text
o Better handling of permissions for files with user passwords
2014-11-16 13:53:20 +00:00
o Linearization excised
2014-11-18 14:57:18 +00:00
o Can encrypt or recrypt output of -split and -split-bookmarks now
2014-10-29 16:30:25 +00:00
o -args replaces -control with better behaviour
o Can scale a stamp to fit before stamping with -scale-stamp-to-fit