cpdf-source/cpdftype.mli

15 lines
205 B
OCaml

(* Simple typesetter *)
type box =
Text of string
| Glue of float
| Newline
| Font of string
| BoldOn
| BoldOff
| ItalicOn
| ItalicOff
type t = box list
val typeset : Pdfpaper.t -> t -> Pdfpage.t list