From cb858ec5ddd96f1e9efc1634280b910d92618643 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Tue, 22 Oct 2024 14:42:45 +0100 Subject: [PATCH] mroe --- Changes | 1 + cpdfdraw.ml | 2 +- cpdfmanual.tex | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 95b1050..ac1a614 100644 --- a/Changes +++ b/Changes @@ -16,6 +16,7 @@ New features: * Add structure information to -typeset, add -subformat * -typeset can make PDF/UA documents * -jpeg, -png and friends can make PDF/UA documents +* Merge PDF/UA-1 and PDF/UA-2 files, preserving standards compliance o -stretch scales without preserving aspect ratio o -redact removes whole pages diff --git a/cpdfdraw.ml b/cpdfdraw.ml index 84980e8..a98b27b 100644 --- a/cpdfdraw.ml +++ b/cpdfdraw.ml @@ -297,7 +297,7 @@ let format_paragraph indent j w s = let space_runs, space_width = runs_of_utf8 " " in let remaining = ref w in let allops = ref [] in - let ops = ref [Pdfops.Op_Comment "Format paragraph"] in + let ops = ref [] (*[Pdfops.Op_Comment "Format paragraph"]*) in let first = ref true in let firstloop = ref true in let justify ops = diff --git a/cpdfmanual.tex b/cpdfmanual.tex index 043a38f..4f595aa 100644 --- a/cpdfmanual.tex +++ b/cpdfmanual.tex @@ -1,5 +1,6 @@ %Document -subformat and -title for -jpg, -png etc. %Document -subformat and -title for -typeset +%Document -subformat PDF/UA-2 when merging \documentclass{book} % Edit here to produce cpdfmanual.pdf, cpdflibmanual.pdf, pycpdfmanual.pdf, % dotnetcpdflibmanual.pdf, jcpdflibmanual.pdf jscpdflibmanual.pdf etc.