sig
type t = Pdftext.font list * (int, int * int) Stdlib.Hashtbl.t
type cpdffont =
PreMadeFontPack of Cpdfembed.t
| EmbedInfo of { fontfile : Pdfio.bytes; fontname : string;
encoding : Pdftext.encoding;
}
| ExistingNamedFont
val fontpack_of_standardfont : Pdftext.font -> Cpdfembed.t
val get_char : Cpdfembed.t -> int -> (int * int * Pdftext.font) option
val embed_truetype :
Pdf.t ->
fontfile:Pdfio.bytes ->
fontname:string ->
codepoints:int list -> encoding:Pdftext.encoding -> Cpdfembed.t
val collate_runs : ('a * 'b * 'c) list -> ('a * 'b * 'c) list list
val load_substitute :
string -> Pdftext.standard_font -> Pdfio.bytes * string
end