Module Font.Glyph

type t

Type for one entry in the font

val dimensions : t -> int * int * int * int

glyph_dimensions glyph Returns the width and height of the specified glyph.

val bitmap : t -> bytes

glyph_bitmap glyph Renders a glyph to a series of bytes. The data is 1 bit per pixel, as a series of bytes per row, padded to the appropriate next byte boundary.