cpdf-source/cpdfembed.mli

7 lines
304 B
OCaml
Raw Normal View History

2022-09-11 21:07:55 +02:00
(* Embed a TrueType font for the given set of UTF8 characters in the given
encoding, adding it as an object to the PDF, and returning the number of
that object. *)
2022-09-12 18:02:48 +02:00
val embed_truetype :
Pdf.t -> fontfile:Pdfio.bytes -> fontname:string -> text:string ->
2022-09-15 19:13:42 +02:00
encoding:Pdftext.encoding -> Pdftext.font