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 类型不支持。

另见