/usr/lib/ocaml/camlpdf/pdfstandard14.mli is in libcamlpdf-ocaml-dev 2.1.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | (** Standard PDF Fonts *)
(** Calculate the width, in millipoints, of a string in the given font, taking
into account kerning if the first argument is true. *)
val textwidth : bool -> Pdftext.standard_font -> string -> int
(** The appropriate amount to subtract from the y-coordinate of a 1pt text line
to place it vertically centered around the y coordinate, rather than with the
baseline at that y coordinate. *)
val baseline_adjustment : Pdftext.standard_font -> int
(** The data extracted from the font AFM. This is a triple, consisting of a
table of header pairs, a table of (character number, width) pairs and a table
of (first, second, kern) triples representing the kerning table. *)
val afm_data :
Pdftext.standard_font ->
(string, string) Hashtbl.t * (int, int) Hashtbl.t * (int * int, int) Hashtbl.t
(** Return a suitable StemV value for a standard font *)
val stemv_of_standard_font : Pdftext.standard_font -> int
(** Return a suitable flags value for a standard font *)
val flags_of_standard_font : Pdftext.standard_font -> int
|