Module Otfm.Tag

module Tag: sig .. end
Tags.

OpenType tags are four bytes identifiers.



Tags


type t = Otfm.tag 
The type for OpenType tags.

Table tags



Required tables


val cmap : Otfm.tag
The cmap table.
val head : Otfm.tag
The head table.
val hhea : Otfm.tag
The hhea table.
val hmtx : Otfm.tag
The hmtx table.
val maxp : Otfm.tag
The maxp table.
val name : Otfm.tag
The name table.
val os2 : Otfm.tag
The os2 table.
val post : Otfm.tag
The post table.

TTF font tables


val cvt : Otfm.tag
The cvt table.
val fpgm : Otfm.tag
The fpgm table.
val glyf : Otfm.tag
The glyf table.
val loca : Otfm.tag
The loca table.
val prep : Otfm.tag
The prep table.

CFF font tables


val cff : Otfm.tag
The CFF table.
val vorg : Otfm.tag
The VORG table.

Bitmap glyph tables


val ebdt : Otfm.tag
The EBDT table.
val eblc : Otfm.tag
The EBLC table.
val ebsc : Otfm.tag
The EBSC table.

Optional tables


val dsig : Otfm.tag
The DSIG table.
val gasp : Otfm.tag
The gasp table.
val hdmx : Otfm.tag
The hdmx table.
val kern : Otfm.tag
The kern table.
val ltsh : Otfm.tag
The LTSH table.
val pclt : Otfm.tag
The PCLT table.
val vdmx : Otfm.tag
The VDMX table.
val vhea : Otfm.tag
The vhea table.
val vmtx : Otfm.tag
The vmtx table.

Advanced typographic tables


val base : Otfm.tag
The BASE table.
val gdef : Otfm.tag
The GDEF table.
val gpos : Otfm.tag
The GPOS table.
val gsub : Otfm.tag
The GSUB table.
val jstf : Otfm.tag
The JSTF table.

Functions


val of_bytes : string -> Otfm.tag
of_bytes s is a tag corresponding to s. @Raise Invalid_argument if s is not four byte long.
val to_bytes : Otfm.tag -> string
to_string t is the tag as a four byte long string.
val to_int32 : Otfm.tag -> int32
to_int32 t is the tag as an unsigned 32 bits integer.
val of_int32 : int32 -> Otfm.tag
of_int32 t is the tag from and unsigned 32 bits integer.
val compare : Otfm.tag -> Otfm.tag -> int
compare t t' is Pervasives.compare t t'
val pp : Format.formatter -> Otfm.tag -> unit
pp t prints a textual representation of t on ppf.