Module Mlpost__Metric
A high-level interface for Font metrics
type t= Mlpost__.Tfm.t
val char_width : t -> int -> floatchar_width t ireturns the width of theith character of the font metrict,0is the first character
val char_height : t -> int -> floatsame as
char_width, but for character height
val char_depth : t -> int -> floatsame as
char_width, but for character depth
val char_italic : t -> int -> floatsame as
char_width, but for character depthsame as
char_width, but for italic correction of the character
val char_dims : t -> int -> float * float * floatchar_dims metric ireturns the width, height and depth of theith char, slightly more efficient than invoking the other functions three times
val slant : t -> floatis the amount of italic slant, which is used to help position accents. For example, slant=.25 means that when you go up one unit, you also go .25 units to the right.
val space : t -> floatis the normal spacing between words in text. Note that character " " in the font need not have anything to do with blank spaces.
val space_stretch : t -> floatis the amount of glue stretching between words.
val space_shrink : t -> floatis the amount of glue shrinking between words.
val x_height : t -> floatis the height of letters for which accents don't have to be raised or lowered.
val quad : t -> floatis the size of one em in the font.
val extra_space : t -> floatis the size of one em in the font.
is the amount added to
spaceat the ends of sentences.