This commit is contained in:
John Whitington 2021-06-21 15:44:47 +01:00
parent 2357cc0e99
commit b3488837d0
7 changed files with 5 additions and 15 deletions

View File

@ -1,15 +1,15 @@
Version 2.4 (June 2021) Version 2.4 (June 2021)
o New operation -extract-images o New operation -extract-images
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
o Optional Content Groups now preserved when merging / stamping pages o Optional Content Groups now preserved when merging / stamping pages
o Listing, coalescing and modfying Optional Content Groups. o Listing, coalescing and modfying Optional Content Groups.
o New -labels-progress option to improve page labels interface o New -labels-progress option to improve page labels interface
o New options -output-json et al. to export PDF files in JSON format
o New options to manipulate Optional Content Groups
o New option -stamp-as-xobject to add one PDF as an xobject in another
o No longer depends on Bigarray or Unix modules
o Appearance streams transformed when transforming annotations o Appearance streams transformed when transforming annotations
o Bookmark destination positions transformed when transforming pages o Bookmark destination positions transformed when transforming pages
o No longer depends on Bigarray or Unix modules
Version 2.3 (patchlevel 1, December 2019) Version 2.3 (patchlevel 1, December 2019)

3
cpdf.1
View File

@ -1,7 +1,7 @@
.\" Process this file with .\" Process this file with
.\" groff -man -Tascii cpdf.1 .\" groff -man -Tascii cpdf.1
.\" .\"
.TH CPDF 1 "OCTOBER 2013" "" "" .TH CPDF 1 "JUNE 2021" "" ""
.SH NAME .SH NAME
cpdf \- PDF command line tools cpdf \- PDF command line tools
.SH SYNOPSIS .SH SYNOPSIS
@ -22,4 +22,3 @@ Output a list of
commands. commands.
.SH AUTHOR .SH AUTHOR
John Whitington <john at coherentgraphics dot co dot uk> John Whitington <john at coherentgraphics dot co dot uk>

View File

@ -6,4 +6,3 @@ val parse_coordinate : Pdf.t -> string -> float * float
val parse_coordinates : Pdf.t -> string -> (float * float) list val parse_coordinates : Pdf.t -> string -> (float * float) list
val parse_single_number : Pdf.t -> string -> float val parse_single_number : Pdf.t -> string -> float

View File

@ -238,4 +238,3 @@ let write fh parse_content no_stream_data pdf =
J.format formatter (json_of_pdf parse_content no_stream_data pdf); J.format formatter (json_of_pdf parse_content no_stream_data pdf);
Format.pp_print_flush formatter (); Format.pp_print_flush formatter ();
output_string fh (Buffer.contents b) output_string fh (Buffer.contents b)

View File

@ -95,8 +95,3 @@ let of_function f =
in in
fill () fill ()

View File

@ -162,4 +162,3 @@ let run_string p s =
let run_function p f = let run_function p f =
run p init_state (of_function f) run p init_state (of_function f)

View File

@ -42,4 +42,3 @@ let to_hex n =
in in
if n < 0 then raise (Invalid_argument (!%"to_hex: (%d)" n)) if n < 0 then raise (Invalid_argument (!%"to_hex: (%d)" n))
else string_of_chars @@ iter [] n else string_of_chars @@ iter [] n