Structs§
- Tb
- bounds-checked big-endian reads of one table (t16 / t32 of the assembly: -1 when the read would cross the table end; offsets are u32 and wrap like the 32-bit registers)
- TtFont
- a runtime font context (TrueType or CFF outlines)
Constants§
- ERR_
FAIL - ERR_HDR
- ERR_IO
- ERR_
LIMIT - ERR_
NOMEM - ERR_
TRUNC - ERR_
UNSUPPORTED - FILE_
MAX - NAME_
CAP - TFF_
CBDT - TFF_
COLR - TFF_
LOCA_ LONG - TFF_
MACCMAP - TFF_
SYMBOL - TFK_CFF
- TFK_TTF
- TT_AVAR
- TT_CBDT
- TT_CBLC
- TT_CFF
- TT_CFF2
- TT_CMAP
- TT_COLR
- TT_
COUNT - TT_CPAL
- TT_FVAR
- TT_GDEF
- TT_GLYF
- TT_GPOS
- TT_GVAR
- TT_HEAD
- TT_HHEA
- TT_HMTX
- TT_HVAR
- TT_KERN
- TT_LOCA
- TT_MAXP
- TT_MVAR
- TT_NAME
- TT_OS2
- TT_POST
Statics§
- MAC_
ROMAN - Mac OS Roman 0x80..0xFF -> Unicode
Functions§
- face_
count - font_face_count(data) -> faces / ERR_*
- sfnt_
name - sfnt_name(table, id) -> UTF-8 (empty = not found), at most cap - 1 bytes