more
This commit is contained in:
parent
20b5d39a1c
commit
7531cf6a15
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue