From e889d137e5202636d3bf0b08c107323caa85a9f3 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Fri, 19 Jul 2024 18:30:57 +0100 Subject: [PATCH] Documentation strings and typos --- cpdffont.mli | 3 ++- cpdfpage.mli | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cpdffont.mli b/cpdffont.mli index 27e1fba..406401a 100644 --- a/cpdffont.mli +++ b/cpdffont.mli @@ -11,7 +11,7 @@ val list_fonts : Pdf.t -> int list -> (int * string * string * string * string) (** Return font list in JSON format *) val json_fonts : Pdf.t -> int list -> Cpdfyojson.Safe.t -(** {2 Miscellany.} *) +(** {2 Miscellany} *) (** Embed missing fonts *) val embed_missing_fonts : string -> bool -> string -> string -> unit @@ -22,6 +22,7 @@ val copy_font : Pdf.t -> string -> int -> int list -> Pdf.t -> Pdf.t (** Report missing fonts *) val missing_fonts : ?l:(int * string * string * string * string) list ref -> Pdf.t -> int list -> unit +(** Return missing fonts *) val missing_fonts_return : Pdf.t -> int list -> (int * string * string * string * string) list (** Print a font table to Standard Output. *) diff --git a/cpdfpage.mli b/cpdfpage.mli index c9917d9..3a6f55c 100644 --- a/cpdfpage.mli +++ b/cpdfpage.mli @@ -3,6 +3,7 @@ (** Print page info (Mediabox etc) to standard output. *) val output_page_info : ?json:bool -> ?raisejson:bool -> Pdf.t -> int list -> unit +(** Return page info for selected pages in JSON format. *) val json_page_info : Pdf.t -> int list -> Cpdfyojson.Safe.t (** Given a function from page number and page to page, a document, and a list