From 833e60e27019049ad5cb815d4480723e772b2d9e Mon Sep 17 00:00:00 2001 From: John Whitington Date: Fri, 24 Mar 2023 15:23:33 +0000 Subject: [PATCH] more --- Changes | 1 + cpdfsqueeze.ml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 365f565..a167dc1 100644 --- a/Changes +++ b/Changes @@ -32,6 +32,7 @@ o -typeset was opening files in text mode, instead of binary o Fixed behaviour of -squeeze-no-pagedata / -squeeze-no-recompress o Significant improvements to malformed file reading o Allow DUP page specifications to use larger numbers +o Reworked functions transforming pages to better preserve patterns 2.5.1 (January 2022) diff --git a/cpdfsqueeze.ml b/cpdfsqueeze.ml index f70dfa5..773c4c7 100644 --- a/cpdfsqueeze.ml +++ b/cpdfsqueeze.ml @@ -202,7 +202,8 @@ let squeeze_all_content_streams pdf = with (* No /Contents, which is ok. Or a parsing failure due to uninherited resources. FIXME: Add support for inherited - resources. *) + resources. NB 24th March 2023 we tried this, and sizes went up + on many files and down on none! So reverted. *) Not_found -> () end | _ -> ())