Aspose::Font::TtfTables::TtfHeadTable class

TtfHeadTable class

Represents “head” table of the TTF Font file.

class TtfHeadTable : public Aspose::Font::TtfTables::TtfTableBase

Methods

MethodDescription
get_CheckSumAdjustment() constGets 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.
get_Created() constGets longDateTime created international date.
get_Flags() constGets uint16 flags.
get_FontDirectionHint() constGets 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.
get_FontRevision() constGets fixed fontRevision set by font manufacturer.
get_GlyphDataFormat() constGets int16 glyphDataFormat 0 for current format.
get_IndexToLocFormat() constGets int16 indexToLocFormat 0 for short offsets, 1 for long.
get_LowestRecPPEM() constGets uint16 lowestRecPPEM smallest readable size in pixels.
get_MacStyle() constGets uint16 macStyle.
get_MagicNumber() constGets uint32 magicNumber set to 0x5F0F3CF5.
get_Modified() constGets longDateTime modified international date.
static get_Tag()Gets table tag.
get_UnitsPerEM() constGets uint16 unitsPerEm range from 64 to 16384.
get_Version() constFixed version 0x00010000 if (version 1.0).
get_XMax() constGets FWord xMax for all glyph bounding boxes.
get_XMin() constGets FWord xMin for all glyph bounding boxes.
get_YMax() constGets FWord yMax for all glyph bounding boxes.
get_YMin() constGets FWord yMin for all glyph bounding boxes.

See Also