This commit is contained in:
John Whitington 2020-08-20 13:30:06 +01:00
parent 655723c505
commit f3e0c97660
1 changed files with 1 additions and 1 deletions

View File

@ -2313,7 +2313,7 @@ let transform_rect transform rect =
(* Apply transformations to any annotations in /Annots (i.e their /Rect entries) *) (* Apply transformations to any annotations in /Annots (i.e their /Rect entries) *)
let transform_annotations pdf transform rest = let transform_annotations pdf transform rest =
Printf.printf "in transform_annotations with transform %s\n" (Pdftransform.string_of_matrix transform); (*Printf.printf "in transform_annotations with transform %s\n" (Pdftransform.string_of_matrix transform);*)
match Pdf.lookup_direct pdf "/Annots" rest with match Pdf.lookup_direct pdf "/Annots" rest with
| Some (Pdf.Array annots) -> | Some (Pdf.Array annots) ->
(* Always indirect references, so alter in place *) (* Always indirect references, so alter in place *)