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 ->
|
|
|
|
encoding:Pdftext.encoding -> int
|