This commit is contained in:
John Whitington 2022-09-27 18:07:05 +01:00
parent 20b5d39a1c
commit 7531cf6a15
1 changed files with 1 additions and 1 deletions

View File

@ -3060,7 +3060,7 @@ let embed_font pdf =
Filename.remove_extension filename Filename.remove_extension filename
in in
let font = Cpdfembed.embed_truetype pdf ~fontfile ~fontname ~codepoints:[] ~encoding:args.fontencoding in let font = Cpdfembed.embed_truetype pdf ~fontfile ~fontname ~codepoints:[] ~encoding:args.fontencoding in
Some font, Some (pdf, fontfile, args.fontname, args.fontencoding) Some font, Some (pdf, fontfile, fontname, args.fontencoding)
| None -> | None ->
Some (Pdftext.StandardFont (f, args.fontencoding)), None Some (Pdftext.StandardFont (f, args.fontencoding)), None
end end