2022-09-20 15:54:45 +02:00
|
|
|
(* Embed a TrueType font for the given set of unicode codepoints in the given
|
|
|
|
encoding, adding the fontfile to the PDF and returning the font object. *)
|
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-09-15 19:13:42 +02:00
|
|
|
encoding:Pdftext.encoding -> Pdftext.font
|