Aspose::Font::Ttf::TtfFontMetrics class

TtfFontMetrics class

Represents TTF Font metrics.

class TtfFontMetrics : public Aspose::Font::FontMetrics

Methods

MethodDescription
get_Ascender() overrideGets ascender value.
get_Descender() overrideGets descender value.
get_FontBBox() overrideGets FontBBox value.
get_FontMatrix() overrideGets FontBBox value.
get_LineGap() overrideGets LineGap value.
get_TypoAscender() overrideGets TypoAscender value.
get_TypoDescender() overrideGets TypoDescender value.
get_TypoLineGap() overrideGets TypoLineGap value.
get_UnitsPerEM() overrideGets UnitsPerEM value.
GetGlyphWidth(System::SharedPtr<Aspose::Font::Glyphs::GlyphId>) overrideReturns glyphs width by glyph id.
GetKerningValue(System::SharedPtr<Aspose::Font::Glyphs::GlyphId>, System::SharedPtr<Aspose::Font::Glyphs::GlyphId>) overrideReturns kerning value for the glyph pair.
MeasureString(System::String, double) overrideMeasures string and returns string width.
MeasureString(System::ArrayPtr<uint32_t>, double)Measures text represented as array of character codes and returns string width.
set_Ascender(double) overrideGets ascender value.
set_Descender(double) overrideGets descender value.
set_TypoAscender(double) overrideGets TypoAscender value.
set_TypoDescender(double) overrideGets TypoDescender value.
set_UnitsPerEM(uint32_t) overrideGets UnitsPerEM value.

See Also