Commit Graph

552 Commits

Author SHA1 Message Date
John Whitington 9516784ece more 2021-12-06 15:55:46 -08:00
John Whitington 9f776cb6c6 more 2021-12-06 15:46:52 -08:00
John Whitington 10fc61f98a more 2021-12-06 15:33:18 -08:00
John Whitington ad5a235c61 more 2021-12-05 16:25:50 -08:00
John Whitington e30714962d more 2021-12-03 21:08:39 -08:00
John Whitington ef0d423cf3 more 2021-12-03 16:53:58 -08:00
John Whitington bb5fae55d2 more 2021-12-02 12:04:14 -08:00
John Whitington fb190868d1 string -> char list in typesetter 2021-12-01 16:11:33 -08:00
John Whitington d5111ccfcf more 2021-12-01 16:01:54 -08:00
John Whitington b7ad66df73 more 2021-12-01 15:50:04 -08:00
John Whitington e5074c20a3 more 2021-11-23 14:20:38 -08:00
John Whitington 35d1675553 more 2021-11-22 15:56:40 -08:00
John Whitington 766933ef75 newlines done 2021-11-22 14:44:14 -08:00
John Whitington 6d97fd4851 more 2021-11-22 11:56:16 -08:00
John Whitington 6f0b8e2f66 more 2021-11-21 14:15:06 -08:00
John Whitington 12c4c7ab7e More typesetter work 2021-11-19 15:21:37 -08:00
John Whitington b5977ae65e more 2021-11-18 16:32:35 -08:00
John Whitington 0b5f46044e more 2021-11-15 11:17:15 -08:00
John Whitington b908e5f57d more 2021-11-15 09:30:11 -08:00
John Whitington 4e12e01848 More splitting up of source files 2021-11-12 14:50:31 -08:00
John Whitington f6631aa101 more 2021-11-12 14:09:49 -08:00
John Whitington 2585ed4d70 more 2021-11-12 13:59:24 -08:00
John Whitington 8d54241bfe more 2021-11-12 13:56:41 -08:00
John Whitington 847b120090 Only print font entries which are in charset 2021-11-12 10:07:37 -08:00
John Whitington 2fb55d514d Font table printer now does unicode, much better 2021-11-11 12:29:08 -08:00
John Whitington c6df45109e Added range to -list-fonts 2021-11-03 16:51:28 +00:00
John Whitington 16aad662f4 more 2021-11-03 16:05:53 +00:00
John Whitington 7c4fbf589d -add-text with real font name done 2021-11-03 13:40:54 +00:00
John Whitington cd68d4852d raw mode for charcodes 2021-11-03 12:15:15 +00:00
John Whitington d43e7c71da more 2021-11-01 15:40:33 +00:00
John Whitington 3142ae5251 more 2021-10-29 15:09:21 +01:00
John Whitington 6a52728e9d beginning -replace-dict-entry 2021-10-28 17:06:46 +01:00
John Whitington 66e4224872 Merge branch 'master' of ssh://github.com/johnwhitington/cpdf-source 2021-10-28 15:34:13 +01:00
John Whitington 3ed74079c8 more 2021-10-28 15:34:03 +01:00
John Whitington d4ae95f361 labels 2021-10-27 20:15:05 +01:00
John Whitington e918630ea4 beginning JSON annotations 2021-10-27 18:55:52 +01:00
John Whitington e3abffb21c Beginning -add-bookmarks-json 2021-10-27 11:44:30 +01:00
John Whitington 5708d25255 Added -list-bookmarks-json 2021-10-26 19:41:14 +01:00
John Whitington 3bf5218670 more 2021-10-26 17:32:36 +01:00
John Whitington 609943e78c more 2021-10-26 16:18:09 +01:00
John Whitington ee1f712ad2 linewidth 2021-10-26 15:09:07 +01:00
John Whitington b3080fa10a more 2021-10-21 18:10:47 +01:00
John Whitington 84453105ba more 2021-10-19 19:26:02 +01:00
John Whitington b1349c0b7e Imposition first go 2021-10-19 16:18:15 +01:00
John Whitington 73dba40576 more 2021-10-18 18:33:52 +01:00
John Whitington 66e3d3aa1a Apparatus for imposition 2021-10-18 18:19:59 +01:00
John Whitington b70615ec16 more 2021-10-18 16:22:38 +01:00
John Whitington c4768c9a92 more 2021-10-18 14:57:40 +01:00
John Whitington 2b3be7890b Collation 2021-10-16 15:47:41 +01:00
John Whitington c9bd93e42e more 2021-10-15 17:36:11 +01:00
John Whitington a5c3574794 demo gone 2021-10-15 17:18:23 +01:00
John Whitington a0ca312f6e more 2021-10-14 20:28:43 +01:00
John Whitington 2859f9e4ef more 2021-10-12 18:58:37 +01:00
John Whitington d11b6a97bb more 2021-10-12 18:40:47 +01:00
John Whitington ece1e9f280 more 2021-10-12 15:35:08 +01:00
John Whitington 14edc5a5db option to uncompress json streams 2021-10-04 18:38:36 +01:00
John Whitington 268228df40 CSP code archived 2021-10-02 13:21:06 +01:00
John Whitington 5ae9ffe25f Split off a little code 2021-10-02 12:22:59 +01:00
John Whitington 1377c5af83 lowercase 2021-10-01 22:05:43 +01:00
John Whitington b874221aca -j support 2021-10-01 12:16:55 +01:00
John Whitington a6256c0331 JSON to outputs 2021-10-01 11:39:47 +01:00
John Whitington d065fcede3 more 2021-09-28 14:15:10 +01:00
John Whitington c79bf14158 Fix Ocaml 4.13 warning 2021-09-27 16:49:00 +01:00
John Whitington 0965d8ee54 Finishing python comments 2021-09-01 19:41:10 +02:00
John Whitington 671a637271 cpdfposition 2021-08-12 20:38:55 +01:00
John Whitington afe80205dd Splitting page spec into separate module 2021-08-12 20:14:48 +01:00
John Whitington 53d0a08422 NOT and CPDF_DEBUG 2021-08-10 20:11:20 +01:00
John Whitington 8fda026ad7 stderr unbuffered 2021-07-23 16:26:07 +01:00
John Whitington ef9d0e9547 docs 2021-06-21 15:56:02 +01:00
John Whitington dfe37096da ready for v2.4 2021-06-21 15:54:05 +01:00
John Whitington 28cba5dbdf install script 2021-06-20 16:27:46 +01:00
John Whitington 3073c74367 Beginnings of support for transforming bookmark destinations 2021-05-27 17:31:12 +01:00
John Whitington c1345ceac4 empty pagespecs allowed where possible 2021-05-25 13:49:51 +01:00
John Whitington 3436c57daf Beginning v2.4 documentation 2021-05-20 16:53:35 +01:00
John Whitington 8309a5a533 more 2021-02-16 19:19:29 +00:00
John Whitington 24d6f02e06 Allow -pw=password so passwords may begin with a dash 2021-01-06 13:41:14 +00:00
John Whitington e8b766c5dd more 2020-12-21 14:38:08 +00:00
John Whitington dc90b27a39 more 2020-12-21 14:09:21 +00:00
John Whitington 018ef019d8 more 2020-12-20 17:35:47 +00:00
John Whitington 21ef7e8f99 Deduplication for -extract-images 2020-12-20 15:41:52 +00:00
John Whitington 2960b5f092 more 2020-12-20 14:32:32 +00:00
John Whitington 27fa67b04d more 2020-12-17 12:17:24 +00:00
John Whitington 6c5bbe0a5b version 2020-12-15 14:36:37 +00:00
John Whitington cc12dea5e6 more 2020-12-11 19:01:02 +00:00
John Whitington 589c56023b more 2020-12-11 17:24:58 +00:00
John Whitington f25f4f9882 more 2020-12-11 17:22:59 +00:00
John Whitington f4a3260373 more 2020-12-11 15:14:04 +00:00
John Whitington 42e600e049 more 2020-12-11 14:13:24 +00:00
John Whitington 9ff8e473f3 Moving image resolution 2020-11-25 16:54:15 +00:00
John Whitington 1f122720d1 Moving things 2020-11-14 16:40:01 +00:00
John Whitington ac26417de8 Rearrange -show-boxes -trim-marks for cpdflib 2020-11-12 15:16:58 +00:00
John Whitington 445c96408b Strip out unused options 2020-11-11 14:26:48 +00:00
John Whitington 3aa8178563 more 2020-10-12 13:16:11 +01:00
John Whitington d51ba0dd5e Bug with duplicate setproducer and setcreator functions 2020-09-16 16:16:15 +01:00
John Whitington 40170283be Introduced post-checks on command line flags 2020-07-26 16:04:59 +01:00
John Whitington 35e91e78db Added -squeeze-no-pagedata, -squeeze-no-recompress 2020-05-06 17:00:55 +01:00
John Whitington a239cf4edb Allow page specifications for -open-at-page-{fit} 2020-05-04 12:25:42 +01:00
John Whitington e6afa6e8f2 More apparatus for -stamp-as-xobject 2020-03-19 16:23:16 +00:00
John Whitington 2e8683dfa1 Beginning implementation of -stamp-as-xobject 2020-03-18 17:08:30 +00:00
John Whitington dd659cf7c7 Added scaffolding for -stamp-as-xobject 2020-03-18 14:01:27 +00:00
John Whitington 86a46b4243 Stack safety 2020-03-04 10:50:32 -08:00
John Whitington 7b8032a662 Added -ocg-order-all 2020-03-02 13:37:39 +01:00
John Whitington c87ce65f51 moved ocg stuff into cpdf.ml:" 2020-02-27 15:14:51 +01:00
John Whitington 2471fa765d Added -ocg-list and -ocg-rename 2020-02-27 14:32:45 +01:00
John Whitington 908799683f more 2020-02-27 13:16:26 +01:00
John Whitington 803e5b38d5 more 2020-02-27 13:00:06 +01:00
John Whitington 4d088e6702 more ocg 2020-02-26 18:54:23 +01:00
John Whitington 78908569be Beignning -ocg-coalesce-on-name 2020-02-26 17:24:27 +01:00
John Whitington eec4c9b5a1 Added -output-json-no-stream-data 2020-02-01 10:18:15 +00:00
John Whitington b09235e28b Multiple content streams in JSON conversion 2020-01-31 10:50:31 +00:00
John Whitington b4f8500ef5 Beginnings of output of JSON 2020-01-30 14:10:30 +00:00
John Whitington b9b3d5477e First little JSON output working 2020-01-30 10:42:24 +00:00
John Whitington 2165d10862 Scaffolding for -output-json 2020-01-30 10:20:33 +00:00
John Whitington 08ca9bea6f Plumbing for -add-page-labels -labels-progress 2020-01-25 15:22:45 +08:00
John Whitington 02574b57d4 Vendored in JSON library, other updates to begin v2.4 2020-01-24 16:20:40 +08:00
John Whitington 6bb20e8ba2 more 2019-12-12 12:30:26 +00:00
John Whitington ab729c5f41 Reverted (Some Info) implementation 2019-10-26 14:10:03 +01:00
John Whitington f86760c38f Removed filename quoting for name of commmand (Windows does not like it) 2019-10-24 13:15:53 +01:00
John Whitington 3ca92575fc Documentation fixes 2019-10-21 12:37:52 +01:00
John Whitington 72146cd764 Documentation fixes 2019-10-21 12:06:04 +01:00
John Whitington d9291dfd85 Documentation fixes 2019-10-21 11:54:34 +01:00
John Whitington 153aed080a Make clean play with AND 2019-10-21 11:28:40 +01:00
John Whitington 219b58e466 Prepend contents 2019-10-02 13:41:56 +01:00
John Whitington 922ab94c1e Added -prepend-content, -postpend-content 2019-10-01 15:02:12 +01:00
John Whitington 380296a4fa more 2019-09-26 13:30:22 +01:00
John Whitington a4c0aad692 Split cpdfcoord.ml off from cpdfcommand.ml 2019-09-26 11:44:54 +01:00
John Whitington 6892653e22 Ready for v2.3 release 2019-09-13 14:01:13 +01:00
John Whitington 5ae2fc9635 more 2019-08-18 15:35:07 +01:00
John Whitington 418983df7f More use of Filename.quote 2019-08-18 15:22:13 +01:00
John Whitington a18d268919 more 2019-08-18 11:25:55 +01:00
John Whitington e6b3cc8a65 Fix for -gs-malformed on files with wrong owner or user password 2019-08-18 10:55:40 +01:00
John Whitington 3807738491 Fixed -squeeze-log-to bug 2019-08-16 15:16:21 +01:00
John Whitington 9054a246ae more 2019-08-11 19:39:12 +01:00
John Whitington 0c806b21cd testing 2019-08-05 12:35:07 +01:00
John Whitington ae113db050 Added printing of XMP dc:description 2019-08-03 14:57:17 +01:00
John Whitington 8658ddf96c Test fixes done 2019-08-01 14:34:45 +01:00
John Whitington ab9cb792e4 XMP date fixes 2019-08-01 14:10:02 +01:00
John Whitington 89dfe94d13 more 2019-07-31 17:32:18 +01:00
John Whitington 1cd898ce74 more 2019-07-28 12:35:51 +01:00
John Whitington 0505d574d3 Added -qs-quiet 2019-07-22 14:00:37 +01:00
John Whitington bb4a2f6198 more 2019-07-19 17:04:30 +01:00
John Whitington d2270e2bc1 more 2019-07-17 14:22:03 +01:00
John Whitington 3c84cb6a1c more 2019-07-17 13:05:00 +01:00
John Whitington bcef18797b -trim-marks finished 2019-07-15 13:42:32 +01:00
John Whitington cf66fa3d72 Added -show-boxes command 2019-07-15 11:52:14 +01:00
John Whitington 293af1ed9f Finished off -dump-attachments 2019-07-14 13:50:48 +01:00
John Whitington 7a00d45b3e Better errors on nonexistant files 2019-07-12 14:53:55 +01:00
John Whitington a4882e4d76 Added -remove-all-text 2019-07-11 17:19:40 +01:00
John Whitington cdf0950af1 Scaffolding for -draft-remove-only 2019-07-09 16:31:45 +01:00
John Whitington 3df7a6817e Working on plumbin -fast through two up and stamp (hence nobble) 2019-07-08 15:13:34 +01:00
John Whitington 42aaa374a2 more 2019-07-08 14:44:34 +01:00
John Whitington e2371ac3f1 Detection of multiple operations 2019-07-08 12:44:27 +01:00
John Whitington 435c55daca Can now create PDF files from whole cloth 2019-07-07 17:07:52 +01:00
John Whitington 2b8a334190 Bookmark @B on splitting now dowes utf8, raw 2019-07-07 12:55:15 +01:00
John Whitington 9f981fb344 more 2019-07-06 17:55:26 +01:00
John Whitington 909de09aee Add bookmarks when merging 2019-07-03 14:40:32 +01:00
John Whitington 80e7b0de32 Added -embed-missing-fonts 2019-07-02 18:20:05 +01:00
John Whitington ed0a7a800d Finished -gs-malformed 2019-07-02 16:50:39 +01:00
John Whitington a6328dc973 more 2019-07-02 15:50:36 +01:00
John Whitington 3b21ec6d29 Work on stdin for malformed files 2019-07-02 14:10:42 +01:00
John Whitington 017edbbd5e New @N@@@ etc options 2019-07-01 16:52:31 +01:00
John Whitington 476c5fda5d Added -pad-mutliple-before 2019-07-01 15:35:17 +01:00
John Whitington 3d595a14de -create-metadata finished 2019-07-01 14:40:22 +01:00
John Whitington 5897b263f4 more 2019-06-30 15:00:51 +01:00
John Whitington 65c6915bba First work on mending malformed files with ghostscript 2019-06-30 14:05:20 +01:00
John Whitington 44fdb93574 Beginning work on -set-metadata-date 2019-06-29 15:03:22 +01:00
John Whitington 3cbd3595ef Plumbing for XMP metadata setting 2019-06-28 15:01:28 +01:00
John Whitington c6dd8d18a5 First bit of plumbing for setting of XMP metadata 2019-06-26 17:43:59 +01:00
John Whitington b9576753a8 New functionality for manipulating boxes 2019-06-26 14:43:24 +01:00
John Whitington 9b94932c32 scale_to_fit_pages positioning 2019-03-19 14:03:28 +00:00
John Whitington 425a2d692f version 2018-08-01 16:09:43 +01:00
John Whitington e8cbf937f6 Added -error-on-malformed, -debug-always-treat-malformed 2018-04-05 12:56:32 +01:00
John Whitington 89c634ab8c Fixed extract images to add page prefix 2018-03-27 18:02:20 +01:00
John Whitington 275418050d more debug 2018-03-20 15:53:25 +00:00
John Whitington 9963f9db00 more debug 2018-03-20 15:43:15 +00:00
John Whitington 248ea494e4 Debug code 2018-03-20 10:19:50 +00:00
John Whitington f67730df0f more 2018-02-13 18:14:48 +00:00
John Whitington 3f9f5a3742 Fixed temp file again 2018-02-13 18:05:48 +00:00
John Whitington 5385295c7c Fix to temp file handling with -stdout and cpdflin 2018-01-29 18:15:42 +09:00
John Whitington d59d33b7e3 more 2017-12-21 15:12:45 +00:00
John Whitington 1d55dffab7 Added new -pad-with functionality 2017-12-21 14:54:01 +00:00
John Whitington 5303068dd6 Beginning implementation of -pad-with 2017-12-18 19:44:02 +00:00
John Whitington 0bae130aad Banned operations changed 2017-11-22 15:46:48 +00:00
John Whitington 9667897574 more 2017-11-09 18:15:51 +00:00
John Whitington 51e7689fd1 Added support for listing bookmarks with full destinations 2017-11-04 14:18:02 +00:00
John Whitington d108f516df v2.2.1 2017-09-01 17:47:22 +01:00
John Whitington fd5a4104fc Version update 2017-07-06 15:19:54 +01:00
John Whitington e3a03f50bb umore 2017-07-04 17:07:22 +01:00
John Whitington 584483e68c Better debug for inline image failures 2017-07-04 14:37:28 +01:00
John Whitington 26647cdbd3 Fixed up workaround for Adobe "Error 21" bug on re-saving encrypted
files
2017-06-15 12:25:30 +01:00
John Whitington e5cd3e3c2a Bumped to version 2.3 (devel) 2017-06-02 18:07:28 +01:00
John Whitington 8ad91fcf5e fastrefnums 2017-05-29 14:39:01 +01:00
John Whitington 645be7b342 More efficient bookmark code 2017-05-28 19:19:17 +01:00
John Whitington 4df6f42474 Re-instated -remove-unused resources for cusomter 2017-05-26 15:09:32 +01:00
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 37bb153a49 more 2017-01-08 18:45:15 +00:00
John Whitington b7807f8a94 Decompress now non-lazy. Otherwise, deferred decryption fails due to
modification of object map inside iter.
2017-01-04 17:52:14 +00:00
John Whitington a0446f7f1c more 2016-11-24 19:10:53 +00:00
John Whitington 2caa9de061 more 2016-11-13 18:01:01 +00:00
John Whitington a973e622ae Add-rectangle finished 2016-11-13 16:36:37 +00:00
John Whitington ed9f7680ca Work on rectangle positioning 2016-11-13 16:22:21 +00:00
John Whitington 9d34594f13 Added %ExtractedText 2016-11-13 14:02:09 +00:00
John Whitington c7accd12c8 more 2016-11-12 18:18:20 +00:00
John Whitington 9224b2883e more 2016-11-10 15:03:34 +00:00
John Whitington 1e6e63daba Change_font_size implemented 2016-11-10 13:54:49 +00:00
John Whitington 70413d6727 More work on -change-font-size 2016-11-09 19:12:05 +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 f34d72ad10 more 2016-11-08 18:15:04 +00:00
John Whitington 61cb073ef5 more 2016-11-04 16:46:08 +00:00
John Whitington 84de858faf -list-spot-colours done 2016-11-04 12:43:58 +00:00
John Whitington d35e3a478a Now looks inside forms for spot colours 2016-11-03 17:35:40 +00:00
John Whitington afe3895bb9 First go at -list-spot-colours 2016-11-03 17:11:08 +00:00
John Whitington af902e9f44 Better CountPages 2016-11-03 14:47:54 +00:00
John Whitington 0c1a8d4763 more 2016-09-24 17:57:43 +01:00
John Whitington bc20b01061 Fixed outlines in -stamp-on, -stamp-under 2016-07-24 14:53:24 +01:00
John Whitington e7e3b5bb0b more 2016-07-22 18:42:55 +01:00
John Whitington 472a4ce286 Fix combine_pages to work well with renumber_pages 2016-07-22 15:55:25 +01:00
John Whitington a673e96090 more 2016-07-21 19:30:02 +01:00
John Whitington ff9e90cb36 First stage of PMIN plus 3mm etc 2016-07-21 17:02:11 +01:00
John Whitington 43ffc25b9c Things like PW plus CW minus 10mm now work 2016-07-20 17:39:04 +01:00
John Whitington ff8d31ab4e New regine 2016-07-20 15:38:19 +01:00
John Whitington 718cedd5cf More work on new arithmetic expressions 2016-07-19 15:40:00 +01:00
John Whitington 08801a2fd9 Began work on expressions in coordinates and page sizes (i.e PW/2 + 6cm) 2016-07-18 20:00:10 +01:00
John Whitington f7bdca371b Wrote new implementation of 'protect' 2016-04-03 19:46: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 20ba0b1031 More attachment work 2015-09-26 20:30:57 +01:00
John Whitington 82cb349e92 more 2015-09-25 17:58:49 +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 d8cdc572bc When -debug is specified, print out the args, to help debug shell problems 2015-06-01 15:08:01 +01:00
John Whitington 9ed0b208b1 Fix up -bottomright for stamps 2015-05-13 11:34:26 +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 84aed7d070 version 2015-03-12 23:01:07 +00:00
John Whitington 0f375d2573 -midline and -topline for stamps 2015-02-17 15:48:00 +00:00
John Whitington 95b7258e30 Added -producer and -creator 2015-01-22 19:16:56 +00:00
John Whitington 855bdf9489 Layout 2015-01-21 12:20:49 +00:00
John Whitington 10f61a0ff7 -range now works for any input type, in place of an implicit range 2015-01-21 12:18:29 +00:00
John Whitington 45603fc725 Added -topline 2015-01-20 15:50:36 +00:00
John Whitington e53e49bc96 More work with -stay-in-error 2015-01-12 17:55:45 +00:00
John Whitington cacc55c2bf Used of cpdfcommand as a service with -stay-on-error 2015-01-11 18:39:35 +00:00
John Whitington d45df220d4 New -remove-dict-entry and fixes for re-use of go_with_argv 2015-01-11 16:10:18 +00:00
John Whitington 5025ff0d5b Squeeze logging 2015-01-07 20:29:39 +00:00
John Whitington 0f369f9584 Added -remove-dict-entry 2015-01-07 18:29:11 +00:00
John Whitington 201538e168 -revision and -revisions now work 2014-12-22 13:20:20 +00:00
John Whitington 7f59c906e1 Better warning 2014-12-18 18:00:21 +00:00
John Whitington e78d9e2373 Error handling for -revisions with malformed files 2014-12-18 17:58:26 +00:00