

Each byte within the array must have a value in the range 0x20 to 0x7E. Examples of 2.14 values are:Ī Tag value is a uint8 array. To compute the actual value, take the integer and add the fraction.

The F2DOT14 format consists of a signed, 2’s complement integer and an unsigned fraction.

Packed 32-bit value with major and minor version numbers. Long offset to a table, same as uint32, NULL offset = 0x00000000 Short offset to a table, same as uint16, NULL offset = 0x0000Ģ4-bit offset to a table, same as uint24, NULL offset = 0x000000 The value is represented as a signed 64-bit integer.Īrray of four uint8s (length = 32 bits) used to identify a table, design-variation axis, script, language system, feature, or baseline Uint16 that describes a quantity in font design units.ġ6-bit signed fixed number with the low 14 bits of fraction (2.14).ĭate and time represented in number of seconds since 12:00 midnight, January 1, 1904, UTC. Int16 that describes a quantity in font design units. All OpenType fonts use Motorola-style byte ordering (Big Endian): Data Type The following data types are used in the OpenType font file. For additional information on filename extension conventions, see “Filenames” in Recommendations for OpenType fonts. TTC should only be used for font collection files. (The extension may be upper or lower case.) The extensions.

OpenType font files should use the extension. Each of these types of data is stored in one or more tables each designed for a particular purpose. The font data also includes meta-information, such as name strings that can used to present the font as an available choice in a font-picker user interface. Still other data can provide monochromatic or color bitmaps or SVG documents as alternate glyph descriptions. Other data provide descriptions of glyphs as TrueType or Compact Font Format (CFF) outlines. Portions of the data are used by applications to calculate the layout of text using the font that is, the selection of glyphs and their placement within a line. An OpenType font file contains data, in table format, used for rendering of text.
