From 0da78da07cede4f3463d13bd72ae610fb7e712d8 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Tue, 27 Jun 2023 16:24:41 +0100 Subject: [PATCH] -prerotate for -scale-to-fit --- cpdfcommand.ml | 2 ++ cpdfmanual.pdf | Bin 393039 -> 393085 bytes cpdfmanual.tex | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cpdfcommand.ml b/cpdfcommand.ml index b68edf9..326f3ae 100644 --- a/cpdfcommand.ml +++ b/cpdfcommand.ml @@ -4064,6 +4064,8 @@ let go () = | Some ScaleToFit -> let pdf = get_single_pdf args.op false in let range = parse_pagespec_allow_empty pdf (get_pagespec ()) in + warn_prerotate range pdf; + let pdf = if args.prerotate then prerotate range pdf else pdf in let xylist = Cpdfcoord.parse_coordinates pdf args.coord and scale = args.scale in write_pdf false (Cpdfpage.scale_to_fit_pdf ~fast:args.fast args.position scale xylist args.op pdf range) diff --git a/cpdfmanual.pdf b/cpdfmanual.pdf index 859ee061fef910a51f059c1291a37c1b13ca978d..40a69994a0bfd55e686ee243e988ca48a53f41b4 100644 GIT binary patch delta 6440 zcmai0=QrG47sVJ7y^G$XL?;+V3u4p}HQH#2-a;@#_-TpWBD&~7l#u8#Wb__lbTWEL z5G`5+ujhIGfcL{$cdvW)zUS-@d#yWq#dvweSR07Nm(3{b2MYl`W*t6r;#6%%^x3)n zy6<40crB%L9kca)``^Fy@s*R~j3}G&@!(4i37)>CAV*%}QlMy#KrIH{6KNfqM0!7C zdlhX|M3>>5TLhzFcINHqCa4`Yfc~wAX**T;4)d`QZKfV1oYL^dKbS&3ihRe3zm8kh zk(Bj2`o468+;;#lw)xys_N0Ti7-{s5RH22=L_xCAuT?ai8_p#)!=G`huQsVK64_kb zL4WIuUiwQ#s1Y`%eqc-bY_hw8fR4KQjkCI&Dj~f#Pou$R! z*bxK$%A(fuHeC%L?y;=9{F9-v#@TpI-Zx7mPntdPc!rtLeC~Vi*CC@2=&XJ&$CZ6! zJzkx=(M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>3K|Z z$&dI-TRUa! " [-fast]!\\ - \noindent\verb! [-scale-to-fit-scale ]!\\ + \noindent\verb! [-scale-to-fit-scale ] [-prerotate]!\\ \noindent\verb! in.pdf [] -o out.pdf! \vspace{1.5mm} @@ -1454,7 +1454,7 @@ Y factors given. This scales both the page contents, and the page size itself. I \noindent Scale a file's pages to fit A4 portrait, scaling the page 90\% of its possible size. \end{framed} -\noindent NB: \texttt{-scale-to-fit} operates with respect to the media box not the crop box. If necessary, set the media box to be equal to the crop box first. In addition, \texttt{-scale-to-fit} presently requires that the origin of the media box be (0, 0). This can be assured by preprocessing with \texttt{-upright} (described elsewhere in this chapter). +\noindent NB: \texttt{-scale-to-fit} operates with respect to the media box not the crop box. If necessary, set the media box to be equal to the crop box first. In addition, \texttt{-scale-to-fit} presently requires that the origin of the media box be (0, 0). This can be assured by preprocessing with \texttt{-upright} (described elsewhere in this chapter) or by adding the \texttt{-prerotate} option to the command. The \texttt{-scale-contents} operation scales the contents about the center of the crop box (or, if absent, the media box), leaving the page dimensions