Aspose::Font::Cff::CffFont class

CffFont class

Represents Compact Font Format (CFF).

class CffFont : public Aspose::Font::Font

Methods

MethodDescription
Convert(Aspose::Font::FontType) overrideConverts the Font into another format.
get_CommonFontsSettings() constGets/sets settings common to CFF fonts. These settings are used in different scenarios and can be changed for each individual font.
get_Encoding() overrideGets Font encoding.
get_FontDefinition() overrideGets Font definition.
get_FontFamily() overrideGets Font family. The Font family setter is not implemented yet.
get_FontName() overrideGets Font face name.
get_FontNames() overrideGet Font names.
get_FontStyle() overrideGets Font style. This is a value computed and represented in generalized type.
get_FontType() overrideGets Font type. Returns FontType.CFF value.
get_GlyphIdType() overrideGets glyph id type specification.
get_IsCidKeyedFont()Gets value indicating that the Font is cid-keyed.
get_Metrics() overrideGets Font metrics.
get_NumGlyphs() overrideGets number of glyphs in the Font.
get_PostscriptNames() overrideGets postscript Font names.
get_Style() overrideGets Font style. This is a raw string value provided by Font file.
get_TopDictDataProvider()Gets accessor for the first top-level DICT in Top DICT INDEX structure.
GetAllGlyphIds() overrideReturns array of all glyph ids, available in the Font. Glyph id is a unique number for a glyph, which is font type dependent. CFF Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class.
GetGlyphById(System::SharedPtr<Aspose::Font::Glyphs::GlyphId>) overrideReturns glyph by glyph id. Glyph id is a unique number for a glyph, which is font type dependent. CFF Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class.
GetGlyphById(System::String)Returns glyph by glyph name.
GetGlyphById(uint32_t)Returns glyph by glyph id.
GetIndexDataProvider(Aspose::Font::CffDataProviders::CffIndexProviderType)Gets provider for the specified CFF INDEX structure type.
set_CommonFontsSettings(System::SharedPtr<CffFontsSettings>)Gets/sets settings common to CFF fonts. These settings are used in different scenarios and can be changed for each individual font.
set_FontFamily(System::String) overrideGets Font family. The Font family setter is not implemented yet.
set_FontName(System::String) overrideSets Font face name.
set_Style(System::String) overrideSets Font style. This is a raw string value provided by Font file.

See Also