Module Otfm.Tag
Tags.
OpenType tags are four bytes identifiers.
Tags
type t= tagThe type for OpenType tags.
Table tags
Required tables
TTF font tables
CFF font tables
Bitmap glyph tables
Optional tables
Advanced typographic tables
Functions
val of_bytes : string -> tagof_bytes sis a tag corresponding tos.- raises Invalid_argument
if
sis not four byte long.
val to_bytes : tag -> stringto_string tis the tag as a four byte long string.
val to_int32 : tag -> int32to_int32 tis the tag as an unsigned 32 bits integer.
val of_int32 : int32 -> tagof_int32 tis the tag from and unsigned 32 bits integer.
val pp : Stdlib.Format.formatter -> tag -> unitpp tprints a textual representation oftonppf.