From 9ed0b208b1c2b183b7de66a3fc8e74fb822823cc Mon Sep 17 00:00:00 2001 From: John Whitington Date: Wed, 13 May 2015 11:34:26 +0100 Subject: [PATCH] Fix up -bottomright for stamps --- cpdf.ml | 2 +- cpdfcommand.ml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpdf.ml b/cpdf.ml index 5f41217..5fedc5c 100644 --- a/cpdf.ml +++ b/cpdf.ml @@ -2057,7 +2057,7 @@ let stamp_shift_of_position topline midline sw sh w h p = | Left o -> o, half h -. half sh -. dy | BottomLeft o -> o, o -. dy | Bottom o -> half w -. half sw, o -. dy - | BottomRight o -> w -. sw, o -. dy + | BottomRight o -> w -. sw -. o, o -. dy | Right o -> w -. sw -. o, half h -. half sh -. dy | Diagonal | ReverseDiagonal | Centre -> half w -. half sw, half h -. half sh -. dy diff --git a/cpdfcommand.ml b/cpdfcommand.ml index db0ae3a..ed6bc7e 100644 --- a/cpdfcommand.ml +++ b/cpdfcommand.ml @@ -3,7 +3,7 @@ let demo = false let noncomp = false let major_version = 2 let minor_version = 2 -let version_date = "(build of 12th March 2015)" +let version_date = "(build of 13th May 2015)" open Pdfutil open Pdfio