This commit is contained in:
John Whitington 2023-04-06 14:15:11 +01:00
parent d786ee2769
commit 1fe429bd61
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ let rec change_pattern_matrices_resources pdf tr resources names_used_with_scn =
end
and change_pattern_matrices_xobject pdf tr xobj xobjnum =
let xobj = Pdf.direct pdf xobj in
match Pdf.lookup_direct pdf "/Subtype" xobj with
| Some (Pdf.Name "/Form") ->
Pdfcodec.decode_pdfstream pdf xobj;