From 4df6f424742d2476d5d5e75cab4c8145375fcc13 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Fri, 26 May 2017 15:09:32 +0100 Subject: [PATCH] Re-instated -remove-unused resources for cusomter --- Changes | 6 +++++- cpdfcommand.ml | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 0081230..f2bb0b8 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,10 @@ +Version 2.3 + +o New operation -hard-box to clip contents to a given box + Version 2.2 (March 2017) -o Perform artihmetic on dimensions when specifying size or position +o Perform arithmetic on dimensions when specifying size or position o Add simple rectangles to PDF to blank things out o Stamping operations now preserve annotations o Decryption fully on-demand for speed. diff --git a/cpdfcommand.ml b/cpdfcommand.ml index cc38a7d..97982cf 100644 --- a/cpdfcommand.ml +++ b/cpdfcommand.ml @@ -2066,6 +2066,7 @@ and specs = ("-squeeze", Arg.Unit setsqueeze, " Squeeze"); ("-squeeze-log-to", Arg.String setsqueezelogto, " Squeeze log location"); (*These items are undocumented *) + ("-remove-unused-resources", Arg.Unit (setop RemoveUnusedResources), ""); ("-stay-on-error", Arg.Unit setstayonerror, ""); ("-extract-fontfile", Arg.Unit (setop ExtractFontFile), ""); ("-extract-images", Arg.Unit setextractimages, "");