Aspose::Font::Cff::CffFontMetrics 类

CffFontMetrics class

表示 CFF Font 度量。

class CffFontMetrics : public Aspose::Font::FontMetrics

方法

方法描述
get_Ascender() override获取 Ascender 值。
get_Descender() override获取 Descender 值。
get_FontBBox() override获取 FontBBox 值。
get_FontMatrix() override获取 FontMatrix 值。
get_UnitsPerEM() override获取 UnitsPerEM 值。
GetFontMatrixForGlyph(System::SharedPtr<Glyphs::GlyphId>)计算由 id 指定的字形的变换矩阵。
GetGlyphWidth(System::SharedPtr<Glyphs::GlyphId>) override返回字形宽度。可能被特定的 Font 编码继承者覆盖。
MeasureString(System::String, double) override测量字符串并返回字符串宽度。
SetGlyphWidth(System::SharedPtr<Glyphs::GlyphId>, double) override设置字形宽度。

另见