Aspose::Font::Type1::Type1MetricFont 类
内容
[
隐藏
]Type1MetricFont class
Type1 metric font implementation. This type1 font is created using metrics only. Glyphs retrieval functions and some other that require real font are not allowed, not allowed functions throw exception Type1NotSupportedException. Other properties (FontName, Weight, Metrics and Encoding) are used from metrics file.
class Type1MetricFont : public Aspose::Font::Type1::Type1Font
方法
| 方法 | 描述 |
|---|---|
| get_Encoding() override | 编码在度量文件中定义。StandardAdobeEncoding:编码会自动填充。 |
| get_FontFamily() override | 获取 Font 家族。 |
| get_FontName() override | 获取 Font 名称。 |
| get_FontStyle() override | 获取 Font 样式。这是一个在通用类型中计算并表示的值。 |
| get_NumGlyphs() override | 获取 Font 中的字形数量。 |
| get_Style() override | 获取 Font 样式。 |
| GetAllGlyphIds() override | 返回在 Font 中可用的所有字形 ID。对 Type1MetricFont 类型不支持。 |
| GetGlyphById(System::String) override | 根据字形 ID 返回字形。对 Type1MetricFont 类型不支持。 |
| GetGlyphById(System::SharedPtr<Glyphs::GlyphId>) override | 根据字形 ID 返回字形。对 Type1MetricFont 类型不支持。 |
另见
- Class Type1Font
- Namespace Aspose::Font::Type1
- Library Aspose.Font for C++