Aspose::Font::TtfTables::TtfHmtxTable class

TtfHmtxTable class

Represents “hmtx” table of the TTF Font file.

class TtfHmtxTable : public Aspose::Font::TtfTables::TtfTableBase

Nested classes

Methods

MethodDescription
get_AdditionalAdvanceWidth()In hmtx table could be the cases when total number of glyphs is not equal to hhea.numberOfHMetrics. For these cases hmtx table contains additional array ’leftSideBearing’ which is correspondent to property LeftSidebearings. But glyphs with indexes from hhea.numOfLongHorMetrics to maxp.numGlyphs also have widths. And these widths in accordance to specification for hmtx table have such values: “Here the advanceWidth is assumed to be the same as the advanceWidth for the last entry above”.
get_HMetrics()Gets horizontal metrics.
get_LeftSidebearings()Gets left side bearings.
static get_Tag()Gets table tag.

See Also