Expand description
OpenType font table parsing and writing.
Modules§
- cmap
- Parsing and writing of the
cmaptable. - glyf
- Parsing and writing of the
glyftable. - loca
- Parsing and writing of the
locatable. - os2
- Parsing of the
OS/2table. - owned
- Owned versions of tables.
- svg
SVGtable parsing.- variable_
fonts - Common tables pertaining to variable fonts.
Structs§
- CvtTable
- cvt — Control Value Table
- F2Dot14
- The F2DOT14 format consists of a signed, 2’s complement integer and an unsigned fraction.
- Fixed
- 32-bit signed fixed-point number (16.16)
- Head
Table headtable- Hhea
Table hheahorizontal header table- Hmtx
Table hmtxhorizontal metrics table- Lang
TagRecord - Language-tag record within the
nametable - Long
HorMetric - A
longHorMetricrecord in thehmtxtable. - MacStyle
- macStyle field in
head - Maxp
Table - maxp - Maximum profile
- Maxp
Version1 SubTable - Name
Record - Record within the
nametable - Name
Table nametable- Offset
Table - OpenType Offset Table
- Offset
Table Font Provider - Open
Type Font - TTCHeader
- TrueType collection header
- Table
Record - An entry in the Offset Table
Enums§
- Index
ToLoc Format - The size of the offsets in the
locatable - Open
Type Data - An OpenTypeFont containing a single font or a collection of fonts
Constants§
- CFF_
MAGIC - Magic value identifying a CFF font (
OTTO) - TRUE_
MAGIC - Magic number identifying TrueType (Apple version)
- TTCF_
MAGIC - Magic value identifying a TrueType font collection
ttcf - TTF_
MAGIC - Magic number identifying TrueType 1.0