cpdf-source/cpdftype.mli

15 lines
205 B
OCaml
Raw Normal View History

2021-11-16 02:42:17 +01:00
(* 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