module Pdfstandard14: sig
.. end
Standard PDF Fonts
val textwidth : bool -> Pdftext.standard_font -> string -> int
Calculate the width, in millipoints, of a string in the given font, taking
into account kerning if the first argument is true.
val baseline_adjustment : Pdftext.standard_font -> 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.