cpdf-source/cpdfembed.mli

8 lines
373 B
OCaml
Raw Normal View History

2022-09-20 15:54:45 +02:00
(* Embed a TrueType font for the given set of unicode codepoints in the given
2022-10-10 17:08:07 +02:00
encoding, adding the fontfiles to the PDF and returning the font objects,
together with the codepoints which appear in each. *)
2022-09-12 18:02:48 +02:00
val embed_truetype :
2022-09-20 15:54:45 +02:00
Pdf.t -> fontfile:Pdfio.bytes -> fontname:string -> codepoints:int list ->
2022-10-10 17:08:07 +02:00
encoding:Pdftext.encoding -> (int list * Pdftext.font) list