Documentation strings and typos

This commit is contained in:
John Whitington 2024-07-19 18:30:57 +01:00
parent b3e8337598
commit e889d137e5
2 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,7 @@ val list_fonts : Pdf.t -> int list -> (int * string * string * string * string)
(** Return font list in JSON format *) (** Return font list in JSON format *)
val json_fonts : Pdf.t -> int list -> Cpdfyojson.Safe.t val json_fonts : Pdf.t -> int list -> Cpdfyojson.Safe.t
(** {2 Miscellany.} *) (** {2 Miscellany} *)
(** Embed missing fonts *) (** Embed missing fonts *)
val embed_missing_fonts : string -> bool -> string -> string -> unit 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 *) (** Report missing fonts *)
val missing_fonts : ?l:(int * string * string * string * string) list ref -> Pdf.t -> int list -> unit 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 val missing_fonts_return : Pdf.t -> int list -> (int * string * string * string * string) list
(** Print a font table to Standard Output. *) (** Print a font table to Standard Output. *)

View File

@ -3,6 +3,7 @@
(** Print page info (Mediabox etc) to standard output. *) (** Print page info (Mediabox etc) to standard output. *)
val output_page_info : ?json:bool -> ?raisejson:bool -> Pdf.t -> int list -> unit 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 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 (** Given a function from page number and page to page, a document, and a list