Aspose::Font::Type1::Type1MetricFont class

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

Methods

MethodDescription
get_Encoding() overrideEncoding is defined in metrics file. StandardAdobeEncoding: the encoding is populated automatically.
get_FontFamily() overrideGets Font family.
get_FontName() overrideGets Font name.
get_FontStyle() overrideGets Font style. This is a value computed and represented in generalized type.
get_NumGlyphs() overrideGets number of glyphs in the Font.
get_Style() overrideGets Font style.
GetAllGlyphIds() overrideReturns all glyph ids, available in the Font. Not supported for Type1MetricFont type.
GetGlyphById(System::String) overrideReturns glyph by glyph id. Not supported for Type1MetricFont type.
GetGlyphById(System::SharedPtr<Aspose::Font::Glyphs::GlyphId>) overrideReturns glyph by glyph id. Not supported for Type1MetricFont type.

See Also