Class TtfHeadTable

TtfHeadTable class

Represents “head” table of the TTF Font file.

public class TtfHeadTable : TtfTableBase

Properties

NameDescription
CheckSumAdjustment { get; }Gets uint32 checkSumAdjustment. To compute: set it to 0, calculate the checksum for the ‘head’ table and put it in the table directory, sum the entire font as uint32, then store B1B0AFBA - sum. The checksum for the ‘head’ table will not be wrong. That is OK.
Created { get; }Gets longDateTime created international date.
Flags { get; }Gets uint16 flags.
FontDirectionHint { get; }Gets int16 fontDirectionHint. 0 Mixed directional glyphs; 1 Only strongly left to right glyphs; 2 Like 1 but also contains neutrals; -1 Only strongly right to left glyphs; -2 Like -1 but also contains neutrals.
FontRevision { get; }Gets fixed fontRevision set by font manufacturer.
GlyphDataFormat { get; }Gets int16 glyphDataFormat 0 for current format.
IndexToLocFormat { get; }Gets int16 indexToLocFormat 0 for short offsets, 1 for long.
LowestRecPPEM { get; }Gets uint16 lowestRecPPEM smallest readable size in pixels.
MacStyle { get; }Gets uint16 macStyle.
MagicNumber { get; }Gets uint32 magicNumber set to 0x5F0F3CF5.
Modified { get; }Gets longDateTime modified international date.
Offset { get; }Gets offset from beginning of sfnt.
TtfTables { get; }Reference to TTF table repository.
UnitsPerEM { get; }Gets uint16 unitsPerEm range from 64 to 16384.
Version { get; }Fixed version 0x00010000 if (version 1.0).
XMax { get; }Gets FWord xMax for all glyph bounding boxes.
XMin { get; }Gets FWord xMin for all glyph bounding boxes.
YMax { get; }Gets FWord yMax for all glyph bounding boxes.
YMin { get; }Gets FWord yMin for all glyph bounding boxes.
static Tag { get; }Gets table tag.

See Also