mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-04-02 20:51:28 +02:00
Version updates
This commit is contained in:
parent
8702b471a6
commit
9f851f38f8
2
META
2
META
@ -1,6 +1,6 @@
|
|||||||
name="cpdf"
|
name="cpdf"
|
||||||
description="PDF commmand line tools"
|
description="PDF commmand line tools"
|
||||||
version="2.7.2"
|
version="2.8"
|
||||||
requires="camlpdf"
|
requires="camlpdf"
|
||||||
archive(byte)="cpdf.cma"
|
archive(byte)="cpdf.cma"
|
||||||
archive(native)="cpdf.cmxa"
|
archive(native)="cpdf.cmxa"
|
||||||
|
@ -47,7 +47,7 @@ To build
|
|||||||
--------
|
--------
|
||||||
|
|
||||||
If downloading from Github, obtain the correct source. This means choosing the
|
If downloading from Github, obtain the correct source. This means choosing the
|
||||||
tag for a particular version, such as "v2.7.2". The head of the master branch
|
tag for a particular version, such as "v2.8". The head of the master branch
|
||||||
is unstable.
|
is unstable.
|
||||||
|
|
||||||
1. Type `make` to make the cpdf executable and the library
|
1. Type `make` to make the cpdf executable and the library
|
||||||
|
2
cpdf.1
2
cpdf.1
@ -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 2024" "" ""
|
.TH CPDF 1 "DECEMBER 2024" "" ""
|
||||||
.SH NAME
|
.SH NAME
|
||||||
cpdf \- PDF command line tools
|
cpdf \- PDF command line tools
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
opam-version: "2.0"
|
opam-version: "2.0"
|
||||||
name: "cpdf"
|
name: "cpdf"
|
||||||
version: "2.7.2"
|
version: "2.8"
|
||||||
maintainer: "contact@coherentgraphics.co.uk"
|
maintainer: "contact@coherentgraphics.co.uk"
|
||||||
license: "AGPL-3.0-or-later"
|
license: "AGPL-3.0-or-later"
|
||||||
build: [[make]]
|
build: [[make]]
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
let demo = false
|
let demo = false
|
||||||
let agpl = true
|
let agpl = true
|
||||||
let major_version = 2
|
let major_version = 2
|
||||||
let minor_version = 7
|
let minor_version = 8
|
||||||
let minor_minor_version = 3
|
let minor_minor_version = 0
|
||||||
let version_date = "(devel, 3rd December 2024)"
|
let version_date = "(10th December 2024)"
|
||||||
|
|
||||||
open Pdfutil
|
open Pdfutil
|
||||||
open Pdfio
|
open Pdfio
|
||||||
@ -3061,7 +3061,7 @@ let specs =
|
|||||||
and usage_msg =
|
and usage_msg =
|
||||||
"Syntax: cpdf [<operation>] <input files> [-o <output file>]\n\n\
|
"Syntax: cpdf [<operation>] <input files> [-o <output file>]\n\n\
|
||||||
Copyright Coherent Graphics Ltd.\n\n\
|
Copyright Coherent Graphics Ltd.\n\n\
|
||||||
Version " ^ (if agpl then "AGPLv3-licensed " else "") ^ string_of_int major_version ^ "." ^ string_of_int minor_version ^ "." ^ string_of_int minor_minor_version ^ " " ^ version_date ^ "\n\n\
|
Version " ^ (if agpl then "AGPLv3-licensed " else "") ^ string_of_int major_version ^ "." ^ string_of_int minor_version ^ "." ^ (if minor_minor_version = 0 then "" else string_of_int minor_minor_version) ^ " " ^ version_date ^ "\n\n\
|
||||||
https://www.coherentpdf.com/\n\n\
|
https://www.coherentpdf.com/\n\n\
|
||||||
Input names are distinguished by containing a '.' and may be\n\
|
Input names are distinguished by containing a '.' and may be\n\
|
||||||
followed by a page range specification, for instance \"1,2,3\"\n\
|
followed by a page range specification, for instance \"1,2,3\"\n\
|
||||||
@ -3704,7 +3704,7 @@ let print_obj json pdf objspec =
|
|||||||
|
|
||||||
let print_version () =
|
let print_version () =
|
||||||
flprint
|
flprint
|
||||||
("cpdf " ^ (if agpl then "AGPL " else "") ^ "Version " ^ string_of_int major_version ^ "." ^ string_of_int minor_version ^ "." ^ string_of_int minor_minor_version ^ " " ^ version_date ^ "\n")
|
("cpdf " ^ (if agpl then "AGPL " else "") ^ "Version " ^ string_of_int major_version ^ "." ^ string_of_int minor_version ^ (if minor_minor_version = 0 then "" else "." ^ string_of_int minor_minor_version) ^ " " ^ version_date ^ "\n")
|
||||||
|
|
||||||
let replace_obj pdf objspec obj =
|
let replace_obj pdf objspec obj =
|
||||||
let split_chain str = map (fun x -> "/" ^ x) (tl (String.split_on_char '/' str)) in
|
let split_chain str = map (fun x -> "/" ^ x) (tl (String.split_on_char '/' str)) in
|
||||||
|
BIN
cpdfmanual.pdf
BIN
cpdfmanual.pdf
Binary file not shown.
@ -1,16 +1,5 @@
|
|||||||
%Add copyright for Matterhorn extracts
|
%Add copyright for Matterhorn extracts
|
||||||
%\DocumentMetadata{
|
%\DocumentMetadata{lang=en, pdfversion=2.0, pdfstandard=ua-2, pdfstandard=a-4f, testphase={phase-III, title, table, math, firstaid}}
|
||||||
% lang = de,
|
|
||||||
% pdfversion = 2.0,
|
|
||||||
% pdfstandard = ua-2,
|
|
||||||
% pdfstandard = a-4f, %or a-4
|
|
||||||
% testphase =
|
|
||||||
% {phase-III,
|
|
||||||
% title,
|
|
||||||
% table,
|
|
||||||
% math,
|
|
||||||
% firstaid}
|
|
||||||
%}
|
|
||||||
\documentclass{book}
|
\documentclass{book}
|
||||||
% Edit here to produce cpdfmanual.pdf, cpdflibmanual.pdf, pycpdfmanual.pdf,
|
% Edit here to produce cpdfmanual.pdf, cpdflibmanual.pdf, pycpdfmanual.pdf,
|
||||||
% dotnetcpdflibmanual.pdf, jcpdflibmanual.pdf jscpdflibmanual.pdf etc.
|
% dotnetcpdflibmanual.pdf, jcpdflibmanual.pdf jscpdflibmanual.pdf etc.
|
||||||
@ -79,7 +68,7 @@ Command Line Tools}
|
|||||||
\vspace{12mm}
|
\vspace{12mm}
|
||||||
|
|
||||||
{\Huge User Manual}\\
|
{\Huge User Manual}\\
|
||||||
Version 2.7.3 (January 2025)
|
Version 2.8 (December 2024)
|
||||||
|
|
||||||
\vspace{25mm}
|
\vspace{25mm}
|
||||||
|
|
||||||
@ -5986,7 +5975,7 @@ Cpdf can add PDF/UA structure data when drawing on new PDF/UA files. For example
|
|||||||
\section{Remediation of PDF/UA verification errors}
|
\section{Remediation of PDF/UA verification errors}
|
||||||
|
|
||||||
%FIXME Check copyright is added for Matterhorn descriptions
|
%FIXME Check copyright is added for Matterhorn descriptions
|
||||||
\noindent\begin{longtable}{lp{5cm}lp{5cm}}
|
\noindent\begin{tabular}{lp{5cm}lp{5cm}}
|
||||||
\textbf{Number} & \textbf{Description} & \textbf{Reference} & \textbf{Remediation}\\
|
\textbf{Number} & \textbf{Description} & \textbf{Reference} & \textbf{Remediation}\\
|
||||||
01-003 & Content marked as Artifact is present inside tagged content. & UA1:7.1-1 & Description\\
|
01-003 & Content marked as Artifact is present inside tagged content. & UA1:7.1-1 & Description\\
|
||||||
01-004 & Tagged content is present inside content marked as Artifact. & UA1:7.1-1 & d\\
|
01-004 & Tagged content is present inside content marked as Artifact. & UA1:7.1-1 & d\\
|
||||||
@ -6075,7 +6064,7 @@ Cpdf can add PDF/UA structure data when drawing on new PDF/UA files. For example
|
|||||||
31-028 & One or more Unicode values specified in the ToUnicode CMap are zero (0). & UA1:7.21.7-2 & d\\
|
31-028 & One or more Unicode values specified in the ToUnicode CMap are zero (0). & UA1:7.21.7-2 & d\\
|
||||||
31-029 & One or more Unicode values specified in the ToUnicode CMap are equal to either U+FEFF or U+FFFE. & UA1:7.21.7-3 & d\\
|
31-029 & One or more Unicode values specified in the ToUnicode CMap are equal to either U+FEFF or U+FFFE. & UA1:7.21.7-3 & d\\
|
||||||
31-030 & One or more characters used in text showing operators reference the .notdef glyph. & UA1:7.21.8-1 & d\\
|
31-030 & One or more characters used in text showing operators reference the .notdef glyph. & UA1:7.21.8-1 & d\\
|
||||||
\end{longtable}
|
\end{tabular}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user