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 | 设置字形宽度。 |
另见
- Class FontMetrics
- Namespace Aspose::Font::Cff
- Library Aspose.Font for C++