Commit Graph

218 Commits

Author SHA1 Message Date
John Whitington 38f6502e19 First stab at -hard-box 2017-05-19 19:10:49 +01:00
John Whitington 7bdec3fd59 Restore ability to compile with OCaml 3.11.2 2017-01-19 13:27:42 +00:00
John Whitington 9c71623d35 Fixed all Pdfpage.change_pages except for merge 2016-11-28 12:23:45 +00:00
John Whitington 0298f30ae5 Fixed -pad-after and friends to pass changes to new Pdfpage.change_pages 2016-11-27 17:41:17 +00:00
John Whitington e92fdeafef Continuing with audit and fixes for used of Pdfpage.change_pages 2016-11-27 15:39:19 +00:00
John Whitington 060ae4d851 More sensible combine_pages done 2016-11-25 17:38:19 +00:00
John Whitington a0446f7f1c more 2016-11-24 19:10:53 +00:00
John Whitington 79e03887bf Use special mode in Pdf.change_pages for combine_pages 2016-11-24 16:11:32 +00:00
John Whitington 83248d9557 more 2016-11-17 18:42:40 +00:00
John Whitington 3437748bc9 Began work on merging annotations in do_stamp 2016-11-15 19:25:20 +00:00
John Whitington 2caa9de061 more 2016-11-13 18:01:01 +00:00
John Whitington 9d34594f13 Added %ExtractedText 2016-11-13 14:02:09 +00:00
John Whitington 6dc94e0c3c Began on -change-font-size-to 2016-11-09 18:15:23 +00:00
John Whitington f6e158ee07 Beginning of -remove-clipping 2016-11-09 15:42:47 +00:00
John Whitington b472cb2ced Text width fixed 2016-11-04 15:57:28 +00:00
John Whitington b224500cfc Beginning to reinstate kerning 2016-11-02 16:50:37 +00:00
John Whitington 0980928b77 Widths for accented characters fixed when embedding fonts 2016-11-02 15:58:55 +00:00
John Whitington 4ade9ab7ed Updates cpdf to use trunk camlpdf AFM reader 2016-11-01 19:00:19 +00:00
John Whitington bc20b01061 Fixed outlines in -stamp-on, -stamp-under 2016-07-24 14:53:24 +01:00
John Whitington 472a4ce286 Fix combine_pages to work well with renumber_pages 2016-07-22 15:55:25 +01:00
John Whitington ff9e90cb36 First stage of PMIN plus 3mm etc 2016-07-21 17:02:11 +01:00
John Whitington 5b72334a9e Better error reporting for bookmark files 2016-04-08 20:13:22 +01:00
John Whitington 6feb3082aa Better combine_resources 2016-04-03 19:51:47 +01:00
John Whitington f7bdca371b Wrote new implementation of 'protect' 2016-04-03 19:46:54 +01:00
John Whitington 849a41f5a1 Concluded content sharing work for now 2016-04-03 12:48:44 +01:00
John Whitington 114e069748 Stamp now shares content with -fast 2016-03-30 17:04:28 +01:00
John Whitington 5b6cb59725 Combine pages now used the new renamer 2016-03-30 14:50:54 +01:00
John Whitington a0ebbb6648 Work on content stream sharing 2016-03-29 14:40:01 +01:00
John Whitington 632b739958 -stamp-on, -stamp-under now work via -relative-to-cropbox command line switch 2016-01-08 12:28:07 +00:00
John Whitington 18aea65d7e -stamp-on etc now take account of cropbox 2016-01-08 12:23:14 +00:00
John Whitington 042f64707e Fix warning 52 in OCaml 4.03 2015-11-25 11:57:48 +00:00
John Whitington 330f78076e Retreiving data from attachments finished 2015-09-28 16:40:19 +01:00
John Whitington 36df106ec0 Fetching data for attachments 2015-09-27 19:10:06 +01:00
John Whitington 20ba0b1031 More attachment work 2015-09-26 20:30:57 +01:00
John Whitington a68136c6c2 Extending attachment functions 2015-09-26 19:51:22 +01:00
John Whitington accbf6de7f Non-logging squeeze 2015-09-25 14:55:15 +01:00
John Whitington 39b691d19c Tidying 2015-07-29 18:04:45 +01:00
John Whitington a3e59b8ba6 -copy-annotations now fixes destination page numbers in link annotations 2015-07-29 18:02:57 +01:00
John Whitington 32f62797b6 Reworking of -copy-annotations 2015-07-29 16:04:36 +01:00
John Whitington db170b428b Add -bates-at-range 2015-07-26 12:31:43 +01:00
John Whitington 87998ea7ec Added -bates-pad-to 2015-07-17 16:34:47 +01:00
John Whitington b199297040 Fix clipping 2015-06-04 15:07:33 +01:00
John Whitington 740d671261 Typos 2015-06-04 14:49:20 +01:00
John Whitington 331121db38 Fix -upright to process pages which are already upright but which have a
non-(0,0) origin
2015-06-04 13:35:56 +01:00
John Whitington 08f7e14fab Clipping for -twoup-stack 2015-06-03 17:30:59 +01:00
John Whitington d81c17b6c5 string_trim replaces String.trim for OCaml < 4.00 2015-06-02 19:32:36 +01:00
John Whitington a2bece3878 Disambiguate addtext error messages 2015-05-31 16:31:08 +01:00
John Whitington 25668ecfe8 Octal digits go 0..7 not 0..9! 2015-05-31 15:10:48 +01:00
John Whitington 26378caeff Adds clipping on -twoup to make sure content off the page doesn't bleed on to it 2015-05-31 14:01:38 +01:00
John Whitington 9ed0b208b1 Fix up -bottomright for stamps 2015-05-13 11:34:26 +01:00
John Whitington 7e14409945 Fixed up font support for -no-embed-font 2015-04-14 14:24:10 +01:00
John Whitington bc09c9f89a -no-embed-font mechanism 2015-04-13 14:42:18 +01:00
John Whitington a81fc4ef8d Began -no-embed-fonts work 2015-04-13 14:17:48 +01:00
John Whitington 0f375d2573 -midline and -topline for stamps 2015-02-17 15:48:00 +00:00
John Whitington 45603fc725 Added -topline 2015-01-20 15:50:36 +00:00
John Whitington 5025ff0d5b Squeeze logging 2015-01-07 20:29:39 +00:00
John Whitington 864ceb48f4 Support now in place for -revisions and -revision. Just needs CamlPDF fixing 2014-12-11 19:36:43 +00:00
John Whitington 1c39f1bc32 Code freeze for 2.1 builds 2014-11-24 14:31:38 +00:00
John Whitington 491262c9e7 Linearization / windows 2014-11-24 14:05:07 +00:00
John Whitington c76551e5a0 OS X Linearization fixes 2014-11-24 13:28:22 +00:00
John Whitington 2edfe9ff1b Simplifying linearizer finding 2014-11-24 12:02:36 +00:00
John Whitington b3ef9d16ff Reflecting internal Pdfmerge changes 2014-11-23 20:05:03 +00:00
John Whitington 824a700329 Filename.quote and path separator for Win32 2014-11-23 17:02:32 +00:00
John Whitington 18b87d3bbd Better finding of the linearizer 2014-11-21 09:58:48 -05:00
John Whitington fa318ceda0 Searching for other linearizers 2014-11-21 11:23:09 +00:00
John Whitington 1f52689047 Cpdflin with passwords 2014-11-19 17:36:02 +00:00
John Whitington 73d624967f Windows cpdflin support 2014-11-19 13:41:53 +00:00
John Whitington 1f7c10e2b5 Faster attachments, fixes for manual bugs 2014-11-18 10:51:14 +00:00
John Whitington c3683b3c0b Correct recryption for stamping, permissions for -combine-pages 2014-11-16 16:01:12 +00:00
John Whitington a3818655bb -split now works with recrypting 2014-10-28 18:40:56 +00:00
John Whitington e782298197 Moved split writing into cpdfcommand.ml, where it belongs. 2014-10-28 12:56:45 +00:00
John Whitington 15f57035fb Added plumbing for recrypting split PDFs 2014-10-28 11:24:29 +00:00
John Whitington 898776ee73 Hardened against XML parsing failures in metadata reading 2014-10-24 11:43:37 +01:00
John Whitington 19b9d56c5a Compressed and Encrypted metadata now dealt with ok 2014-10-24 11:24:33 +01:00
John Whitington 678a25191d Better errors on failed squeeze 2014-10-15 13:29:05 +01:00
John Whitington 953cf0acc5 XMP Metadata now printed with -info 2014-10-15 13:14:33 +01:00
John Whitington ded4c5f22d Began to excise cpdftk support 2014-10-14 19:36:57 +01:00
John Whitington f42cb56ea0 -info now prints out XMP metadata. More dublin core ones to come. 2014-10-14 14:42:52 +01:00
John Whitington 3af9d9d1aa Playing with XMP 2014-10-13 18:16:06 +01:00
John Whitington 2f8beb0e0d Avoid squeezing shared content streams 2014-10-11 14:17:24 +01:00
John Whitington 60b7b6debd Fixed cpdflin path lookup 2014-10-09 15:39:57 +01:00
John Whitington e2770ee225 Now looks in $PATH for cpdflin 2014-10-09 15:34:24 +01:00
John Whitington 6bb8715f23 Squeeze now doesn't do too much work on duplicate references to xobjects 2014-10-08 17:03:13 +01:00
John Whitington 1b0fefc00f Added flate level changing for -squeeze 2014-10-06 15:32:18 +01:00
John Whitington a4f9d0322f Fixed -stamp-on/-stamp-under with positions 2014-10-06 14:32:53 +01:00
John Whitington 21ce677313 Added -center option for text, soon to be used for stamps too. 2014-10-03 15:55:03 +01:00
John Whitington b13f1f592f Fix -range for -stdin and tidy up 2014-10-03 14:18:28 +01:00
John Whitington df0c6c4c45 Added -cpdflin option 2014-10-02 19:57:06 +01:00
John Whitington 3c527c5b95 Linearized splitting 2014-10-02 13:48:45 +01:00
John Whitington ccb78fc280 Beginning to excise internal linearization 2014-10-01 14:59:25 +01:00
John Whitington 5793a24e28 -squeeze now deals with form xobjects 2014-10-01 12:05:13 +01:00
John Whitington ce4efd0bf3 Beginning work on form xobjects squeeze 2014-09-30 18:01:46 +01:00
John Whitington e94b01605b Squeeze now works on fast_write_split_pdfs i.e for -split and
-split-bookmarks
2014-09-30 17:43:04 +01:00
John Whitington 5a2081d077 Remove prinf 2014-09-30 15:45:57 +01:00
John Whitington 42ab3fe4c8 Fixed #11 - parsing of negative page numbers in conjunction with
odd/even etc.
2014-09-30 15:43:46 +01:00
John Whitington 838fc69c18 Smaller splits for -split-bookmarks with object streams 2014-09-25 15:12:30 +01:00
John Whitington 5fb0a3b7cc Fixed -split to preserve/create object streams, leading to smaller
splits
2014-09-25 14:20:23 +01:00
John Whitington 0f3818bcc8 Finished page label bug fixes 2014-09-18 15:40:22 +01:00
John Whitington 91b81da679 Page label fixes + documentation 2014-09-18 14:27:07 +01:00
John Whitington 10e9e92217 Fixed a page label bug 2014-09-17 17:59:27 +01:00
John Whitington da901666b9 More page label work 2014-09-17 17:03:42 +01:00
John Whitington 76aadd87fb Began fixes to page labels for 1.8 release 2014-09-17 15:27:25 +01:00
John Whitington 715bef3acc Support for landscape / portrait page range selections 2014-09-16 14:31:14 +01:00
John Whitington 5b8d928c62 Began support for portrait and landscape-only page specifications 2014-09-15 19:12:04 +01:00
John Whitington 42028ff80a Added squeezing functionality 2014-09-11 14:05:13 +01:00
John Whitington 0876413f32 CPDF now uses proper metrics etc. for 14 standard fonts, as mandated by
ISO standard
2014-09-09 15:06:56 +01:00
John Whitington 5e09b88ed7 Some font work 2014-09-08 17:55:14 +01:00
John Whitington 311b8c1dca Added range functionality to -page-info 2014-08-11 14:05:07 +01:00
John Whitington f00a9c5b04 Fixed StampOn / StampUnder support for retaining bookmarks. 2014-04-18 15:33:15 +01:00
John Whitington 51cf7e949d -raw fixes 2014-01-14 13:38:40 +00:00
John Whitington 0dd958c95b Re-instated octal escape sequences when -raw is used for -set-title etc. 2014-01-14 13:35:20 +00:00
John Whitington ad1920b8f5 Can now add page labels 2013-10-24 15:21:54 +01:00
John Whitington 43c9c43aec New functionality: print and remove page labels 2013-10-24 11:21:52 +01:00
John Whitington c02f47cf4f Changed multiline text support to deal properly with double backslashes, for example '\\\\n' on command line gives '\\n' which should print '\n' not act as a newline 2013-10-18 11:52:01 +01:00
John Whitington 97928bc5a0 Fixed "now" as a date 2013-10-11 09:51:48 +01:00
John Whitington 71f37228ce Added support for open actions 2013-10-02 15:29:53 +01:00
Anil Madhavapeddy 79afdd42e4 Alter the `list-annotations` output to include the page number.
Also make the output format more succinct to make it grep/awk-friendly.
The new format is `Page: <comment>\n`. Grep users will need to be
careful to deal with multiline comments, though.

Signed-off-by: Anil Madhavapeddy <anil@recoil.org>
2013-09-16 13:46:00 +01:00
John Whitington f402f4f720 Initial commit 2013-08-20 15:32:57 +01:00