mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-02-16 20:00:41 +01:00
8 lines
373 B
OCaml
8 lines
373 B
OCaml
(* Embed a TrueType font for the given set of unicode codepoints in the given
|
|
encoding, adding the fontfiles to the PDF and returning the font objects,
|
|
together with the codepoints which appear in each. *)
|
|
|
|
val embed_truetype :
|
|
Pdf.t -> fontfile:Pdfio.bytes -> fontname:string -> codepoints:int list ->
|
|
encoding:Pdftext.encoding -> (int list * Pdftext.font) list
|