Aspose::Font::Cff::CffFont Class Reference

Represents Compact Font Format (CFF). More...

Inherits Aspose::Font::Font.

Public Member Functions

ASPOSE_FONT_SHARED_API Aspose::Font::FontType get_FontType () override
 Gets Font type. Returns FontType.CFF value. More...
 
ASPOSE_FONT_SHARED_API System::String get_FontFamily () override
 Gets Font family. The Font family setter is not implemented yet. More...
 
ASPOSE_FONT_SHARED_API void set_FontFamily (System::String value) override
 Gets Font family. The Font family setter is not implemented yet. More...
 
ASPOSE_FONT_SHARED_API System::String get_FontName () override
 Gets Font face name. The Font face name setter is not implemented yet. More...
 
ASPOSE_FONT_SHARED_API void set_FontName (System::String value) override
 Gets Font face name. The Font face name setter is not implemented yet. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< MultiLanguageStringget_FontNames () override
 Get Font names. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< MultiLanguageStringget_PostscriptNames () override
 Gets postscript Font names. More...
 
ASPOSE_FONT_SHARED_API System::String get_Style () override
 Gets Font style. This is a raw string value provided by Font file. The Style setter is not implemented yet. More...
 
ASPOSE_FONT_SHARED_API void set_Style (System::String value) override
 Gets Font style. This is a raw string value provided by Font file. The Style setter is not implemented yet. More...
 
ASPOSE_FONT_SHARED_API Aspose::Font::FontStyle get_FontStyle () override
 Gets Font style. This is a value computed and represented in generalized type. More...
 
ASPOSE_FONT_SHARED_API bool get_IsCidKeyedFont ()
 Gets value indicating that the Font is cid-keyed. More...
 
ASPOSE_FONT_SHARED_API int32_t get_NumGlyphs () override
 Gets number of glyphs in the Font. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< IFontMetricsget_Metrics () override
 Gets Font metrics. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< IFontEncodingget_Encoding () override
 Gets Font encoding. More...
 
ASPOSE_FONT_SHARED_API Aspose::Font::Glyphs::GlyphIdType get_GlyphIdType () override
 Gets glyph id type specification. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Sources::FontDefinitionget_FontDefinition () override
 Gets Font definition. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Glyphs::GlyphGetGlyphById (System::SharedPtr< Aspose::Font::Glyphs::GlyphId > id) override
 Returns 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. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Glyphs::GlyphGetGlyphById (System::String glyphName)
 Returns glyph by glyph name. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Glyphs::GlyphGetGlyphById (uint32_t id)
 Returns glyph by glyph id. More...
 
ASPOSE_FONT_SHARED_API System::ArrayPtr< System::SharedPtr< Aspose::Font::Glyphs::GlyphId > > GetAllGlyphIds () override
 Returns 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. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::FontConvert (Aspose::Font::FontType fontType) override
 Converts the Font into another format. More...
 
- Public Member Functions inherited from Aspose::Font::Font
ASPOSE_FONT_SHARED_API System::SharedPtr< Glyphs::IGlyphAccessorget_GlyphAccessor () override
 Font glyph accessor. Retrieves glyphs and glyph identifiers. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< IFontSaverget_FontSaver () override
 Gets Font save functionality. More...
 
ASPOSE_FONT_SHARED_API void Save (System::SharedPtr< System::IO::Stream > stream) override
 Saves the Font into original format. More...
 
ASPOSE_FONT_SHARED_API void Save (System::String fileName) override
 Saves the Font into original format. More...
 
ASPOSE_FONT_SHARED_API void SaveToFormat (System::SharedPtr< System::IO::Stream > stream, FontSavingFormats outFormat) override
 Saves the Font into format specified. More...
 
ASPOSE_FONT_SHARED_API System::ArrayPtr< System::SharedPtr< Glyphs::GlyphId > > GetGlyphsForText (System::String text) override
 Gets glyphs representation for text. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< Glyphs::GlyphGetGlyphById (System::SharedPtr< Glyphs::GlyphId > id) override=0
 Returns glyph by glyph id. Glyph id is a unique number for a glyph, which is font type dependent. GlyphId - derived object. For example: Type1's id is a glyph name, instance of (GlyphStringId) class. TTF's id is an int index, instance of (GlyphUInt32Id) class. More...
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared reference counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual ASPOSECPP_SHARED_API bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool Equals (double const &objA, double const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr. More...
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings. More...
 
- Public Member Functions inherited from Aspose::Font::Glyphs::IGlyphAccessor
virtual System::SharedPtr< GlyphGetGlyphById (System::SharedPtr< GlyphId > id)=0
 Returns glyph by glyph id. Glyph id is a unique number for a glyph, which is font type dependent. GlyphId - derived object. For example: Type1's id is a glyph name, instance of (GlyphStringId) class. TTF's id is an int index, instance of (GlyphUInt32Id) class. More...
 
- Public Member Functions inherited from Aspose::Font::Licensing::IVentureLicenseTarget
virtual void SetVentureLicense (System::SharedPtr< VentureLicense > license)=0
 

Protected Member Functions

System::SharedPtr< Internals::CFFStructures > get_Internals () const
 Internal CFF structures More...
 
System::ArrayPtr< System::SharedPtr< Internals::CFFSubfont > > get_SubFonts () const
 CFF subfonts More...
 
void set_SubFonts (System::ArrayPtr< System::SharedPtr< Internals::CFFSubfont >> value)
 CFF subfonts More...
 
System::SharedPtr< Internals::CFFSubfont > get_TopmostFont () const
 
void set_TopmostFont (System::SharedPtr< Internals::CFFSubfont > value)
 
System::SharedPtr< System::Collections::Generic::List< int32_t > > get_SeacSequence () const
 the SeacSequence is used to control stack overflow with incorrect seac declarations in Type1 fonts More...
 
ASPOSE_FONT_SHARED_API void set_FontNames (System::SharedPtr< MultiLanguageString > value) override
 Get Font names. More...
 
ASPOSE_FONT_SHARED_API void set_PostscriptNames (System::SharedPtr< MultiLanguageString > value) override
 Gets postscript Font names. More...
 
 CffFont (System::SharedPtr< Aspose::Font::Sources::FontDefinition > fontDefinition)
 Internal constructor. A factory should be used to create the Font. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (CffFont, CODEPORTING_ARGS(System::SharedPtr< Aspose::Font::Sources::FontDefinition > fontDefinition))
 
void SetFontFamilyInternally (System::String value)
 Internal Font family setter. More...
 
void SetFontNameInternally (System::String value)
 Internal Font face name setter. More...
 
void SetStyleInternally (System::String value)
 Internal Style setter. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< IFontSubsetDoSubset () override
 Creates font subset. More...
 
int32_t GetGlyphIndexByGlyphName (System::String glyphName)
 Converts string id to int id More...
 
System::ArrayPtr< uint16_t > GetAllCharsetSIDs ()
 Returns all the SIDs for the current charset. Using of this method meaningful only when current CFF Font is CIDKeyed font. In this case font encoding data is empty and charset SIDs become font CIDs, see CFF spec. index 18 CID-keyed Fonts. More...
 
double GetGlyphWidthBySID (int32_t SID)
 Gets a width for the glyph specified by SID parameter. Using of this method meaningful only when current CFF Font is CIDKeyed font. In this case font encoding data is empty and charset SIDs become font CIDs, see CFF spec. index 18 CID-keyed Fonts. For another cases, when font is not CIDKeyed font and charset's SIDs are not CIDs using of this method leads to get incorrect glyph width. More...
 
virtual ASPOSE_FONT_SHARED_API ~CffFont ()
 
- Protected Member Functions inherited from Aspose::Font::Font
System::SharedPtr< Rendering::FontRenderingContext > get_RenderingContext () const
 
bool get_IsVentureLicensed ()
 Gets venture licensed state of the object. Returns true if font has venture license and false otherwise. More...
 
 Font ()
 
void Save (System::SharedPtr< System::IO::Stream > stream, Font::FontSaveRequirements saveRequirements)
 
void Save (System::String fileName, Font::FontSaveRequirements saveRequirements)
 
virtual ASPOSE_FONT_SHARED_API ~Font ()
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
- Static Public Member Functions inherited from Aspose::Font::Font
static ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::FontOpen (System::SharedPtr< Aspose::Font::Sources::FontDefinition > fontDefinition)
 Opens a font, using FontDefinition object. More...
 
static ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::FontOpen (Aspose::Font::FontType fontType, System::SharedPtr< Sources::StreamSource > fontStreamSource)
 Opens a font, using font type and stream source. More...
 
static ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::FontOpen (Aspose::Font::FontType fontType, System::String fileName)
 Opens a font, using font type and font file name. More...
 
static ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::FontOpen (Aspose::Font::FontType fontType, System::ArrayPtr< uint8_t > fontData)
 Opens a font, using font type and font data byte array. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Implements C# typeof(System.Object) construct. More...
 
- Protected Types inherited from Aspose::Font::Font
enum  FontSaveRequirements : uint8_t { FontSaveRequirements::SaveAllTables, FontSaveRequirements::SavePdfTables }
 
- Static Protected Member Functions inherited from Aspose::Font::Font
static System::SharedPtr< Aspose::Font::FontOpen (System::SharedPtr< IFontSource > fontSource, System::SharedPtr< Sources::IFontSearcher > fontSearchSpec)
 Opens a font: searches for the Font in font source, represented with IFontSource. More...
 
static System::SharedPtr< Aspose::Font::FontCreate (Aspose::Font::FontType fontType)
 Creates new font. More...
 
static System::SharedPtr< Aspose::Font::FontCreate (Aspose::Font::FontType fontType, System::SharedPtr< Aspose::Font::Font > baseFont, System::SharedPtr< FontAdoptionOptions > fontAdoptionOptions)
 Creates new font based on other font. FontAdoptionOptions object defines a way how the baseFont is used with the new font creation. More...
 
static void SplitSubsetFontName (System::String subsetFontName, System::String &fontName, System::String &subsetTag)
 Splits subset font name and returns font name and subset tag More...
 
static Aspose::Font::FontStyle ParseAndGeneralizeFontStyle (System::String fontStyle)
 Parsing the font style information More...
 
- Protected Attributes inherited from Aspose::Font::Font
System::SharedPtr< Aspose::Font::Glyphs::GlyphsStatistic > GlyphsStatistic
 To hold statistic about glyphs operations More...
 

Detailed Description

Represents Compact Font Format (CFF).

Constructor & Destructor Documentation

◆ CffFont()

Aspose::Font::Cff::CffFont::CffFont ( System::SharedPtr< Aspose::Font::Sources::FontDefinition fontDefinition)
protected

Internal constructor. A factory should be used to create the Font.

◆ ~CffFont()

virtual ASPOSE_FONT_SHARED_API Aspose::Font::Cff::CffFont::~CffFont ( )
protectedvirtual

Member Function Documentation

◆ Convert()

ASPOSE_FONT_SHARED_API System::SharedPtr<Aspose::Font::Font> Aspose::Font::Cff::CffFont::Convert ( Aspose::Font::FontType  fontType)
overridevirtual

Converts the Font into another format.

Note: TTF Font type is now supported only.

Parameters
fontTypeFont format type to convert into.
Returns
Font converted into new format.

Implements Aspose::Font::Font.

◆ DoSubset()

ASPOSE_FONT_SHARED_API System::SharedPtr<IFontSubset> Aspose::Font::Cff::CffFont::DoSubset ( )
overrideprotectedvirtual

Creates font subset.

Returns
IFontSubset.

Implements Aspose::Font::Font.

◆ get_Encoding()

ASPOSE_FONT_SHARED_API System::SharedPtr<IFontEncoding> Aspose::Font::Cff::CffFont::get_Encoding ( )
overridevirtual

Gets Font encoding.

Implements Aspose::Font::Font.

◆ get_FontDefinition()

ASPOSE_FONT_SHARED_API System::SharedPtr<Aspose::Font::Sources::FontDefinition> Aspose::Font::Cff::CffFont::get_FontDefinition ( )
overridevirtual

Gets Font definition.

Implements Aspose::Font::Font.

◆ get_FontFamily()

ASPOSE_FONT_SHARED_API System::String Aspose::Font::Cff::CffFont::get_FontFamily ( )
overridevirtual

Gets Font family. The Font family setter is not implemented yet.

Implements Aspose::Font::Font.

◆ get_FontName()

ASPOSE_FONT_SHARED_API System::String Aspose::Font::Cff::CffFont::get_FontName ( )
overridevirtual

Gets Font face name. The Font face name setter is not implemented yet.

Implements Aspose::Font::Font.

◆ get_FontNames()

ASPOSE_FONT_SHARED_API System::SharedPtr<MultiLanguageString> Aspose::Font::Cff::CffFont::get_FontNames ( )
overridevirtual

Get Font names.

Implements Aspose::Font::Font.

◆ get_FontStyle()

ASPOSE_FONT_SHARED_API Aspose::Font::FontStyle Aspose::Font::Cff::CffFont::get_FontStyle ( )
overridevirtual

Gets Font style. This is a value computed and represented in generalized type.

Implements Aspose::Font::Font.

◆ get_FontType()

ASPOSE_FONT_SHARED_API Aspose::Font::FontType Aspose::Font::Cff::CffFont::get_FontType ( )
overridevirtual

Gets Font type. Returns FontType.CFF value.

Implements Aspose::Font::Font.

◆ get_GlyphIdType()

ASPOSE_FONT_SHARED_API Aspose::Font::Glyphs::GlyphIdType Aspose::Font::Cff::CffFont::get_GlyphIdType ( )
overridevirtual

Gets glyph id type specification.

Implements Aspose::Font::Font.

◆ get_Internals()

System::SharedPtr<Internals::CFFStructures> Aspose::Font::Cff::CffFont::get_Internals ( ) const
protected

Internal CFF structures

◆ get_IsCidKeyedFont()

ASPOSE_FONT_SHARED_API bool Aspose::Font::Cff::CffFont::get_IsCidKeyedFont ( )

Gets value indicating that the Font is cid-keyed.

◆ get_Metrics()

ASPOSE_FONT_SHARED_API System::SharedPtr<IFontMetrics> Aspose::Font::Cff::CffFont::get_Metrics ( )
overridevirtual

Gets Font metrics.

Implements Aspose::Font::Font.

◆ get_NumGlyphs()

ASPOSE_FONT_SHARED_API int32_t Aspose::Font::Cff::CffFont::get_NumGlyphs ( )
overridevirtual

Gets number of glyphs in the Font.

Implements Aspose::Font::Font.

◆ get_PostscriptNames()

ASPOSE_FONT_SHARED_API System::SharedPtr<MultiLanguageString> Aspose::Font::Cff::CffFont::get_PostscriptNames ( )
overridevirtual

Gets postscript Font names.

Implements Aspose::Font::Font.

◆ get_SeacSequence()

System::SharedPtr<System::Collections::Generic::List<int32_t> > Aspose::Font::Cff::CffFont::get_SeacSequence ( ) const
protected

the SeacSequence is used to control stack overflow with incorrect seac declarations in Type1 fonts

◆ get_Style()

ASPOSE_FONT_SHARED_API System::String Aspose::Font::Cff::CffFont::get_Style ( )
overridevirtual

Gets Font style. This is a raw string value provided by Font file. The Style setter is not implemented yet.

Implements Aspose::Font::Font.

◆ get_SubFonts()

System::ArrayPtr<System::SharedPtr<Internals::CFFSubfont> > Aspose::Font::Cff::CffFont::get_SubFonts ( ) const
protected

CFF subfonts

◆ get_TopmostFont()

System::SharedPtr<Internals::CFFSubfont> Aspose::Font::Cff::CffFont::get_TopmostFont ( ) const
protected

◆ GetAllCharsetSIDs()

System::ArrayPtr<uint16_t> Aspose::Font::Cff::CffFont::GetAllCharsetSIDs ( )
protected

Returns all the SIDs for the current charset. Using of this method meaningful only when current CFF Font is CIDKeyed font. In this case font encoding data is empty and charset SIDs become font CIDs, see CFF spec. index 18 CID-keyed Fonts.

Returns
all the SIDs for the current charset

◆ GetAllGlyphIds()

ASPOSE_FONT_SHARED_API System::ArrayPtr<System::SharedPtr<Aspose::Font::Glyphs::GlyphId> > Aspose::Font::Cff::CffFont::GetAllGlyphIds ( )
overridevirtual

Returns 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.

Returns
All glyph identifiers, available in the Font.

Implements Aspose::Font::Font.

◆ GetGlyphById() [1/3]

ASPOSE_FONT_SHARED_API System::SharedPtr<Aspose::Font::Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById ( System::SharedPtr< Aspose::Font::Glyphs::GlyphId id)
override

Returns 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.

Parameters
idGlyph id.
Returns
Glyph.

◆ GetGlyphById() [2/3]

ASPOSE_FONT_SHARED_API System::SharedPtr<Aspose::Font::Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById ( System::String  glyphName)

Returns glyph by glyph name.

Parameters
glyphNameGlyph name.
Returns
Glyph.

◆ GetGlyphById() [3/3]

ASPOSE_FONT_SHARED_API System::SharedPtr<Aspose::Font::Glyphs::Glyph> Aspose::Font::Cff::CffFont::GetGlyphById ( uint32_t  id)

Returns glyph by glyph id.

Parameters
idGlyph id.
Returns
Glyph.

◆ GetGlyphIndexByGlyphName()

int32_t Aspose::Font::Cff::CffFont::GetGlyphIndexByGlyphName ( System::String  glyphName)
protected

Converts string id to int id

Parameters
glyphNameglyph name
Returns
glyph identifier

◆ GetGlyphWidthBySID()

double Aspose::Font::Cff::CffFont::GetGlyphWidthBySID ( int32_t  SID)
protected

Gets a width for the glyph specified by SID parameter. Using of this method meaningful only when current CFF Font is CIDKeyed font. In this case font encoding data is empty and charset SIDs become font CIDs, see CFF spec. index 18 CID-keyed Fonts. For another cases, when font is not CIDKeyed font and charset's SIDs are not CIDs using of this method leads to get incorrect glyph width.

Parameters
SIDglyph string identifier
Returns
width for the glyph specified by SID parameter

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION()

Aspose::Font::Cff::CffFont::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( CffFont  ,
CODEPORTING_ARGS(System::SharedPtr< Aspose::Font::Sources::FontDefinition > fontDefinition)   
)
protected

◆ set_FontFamily()

ASPOSE_FONT_SHARED_API void Aspose::Font::Cff::CffFont::set_FontFamily ( System::String  value)
overridevirtual

Gets Font family. The Font family setter is not implemented yet.

Implements Aspose::Font::Font.

◆ set_FontName()

ASPOSE_FONT_SHARED_API void Aspose::Font::Cff::CffFont::set_FontName ( System::String  value)
overridevirtual

Gets Font face name. The Font face name setter is not implemented yet.

Implements Aspose::Font::Font.

◆ set_FontNames()

ASPOSE_FONT_SHARED_API void Aspose::Font::Cff::CffFont::set_FontNames ( System::SharedPtr< MultiLanguageString value)
overrideprotectedvirtual

Get Font names.

Implements Aspose::Font::Font.

◆ set_PostscriptNames()

ASPOSE_FONT_SHARED_API void Aspose::Font::Cff::CffFont::set_PostscriptNames ( System::SharedPtr< MultiLanguageString value)
overrideprotectedvirtual

Gets postscript Font names.

Implements Aspose::Font::Font.

◆ set_Style()

ASPOSE_FONT_SHARED_API void Aspose::Font::Cff::CffFont::set_Style ( System::String  value)
overridevirtual

Gets Font style. This is a raw string value provided by Font file. The Style setter is not implemented yet.

Implements Aspose::Font::Font.

◆ set_SubFonts()

void Aspose::Font::Cff::CffFont::set_SubFonts ( System::ArrayPtr< System::SharedPtr< Internals::CFFSubfont >>  value)
protected

CFF subfonts

◆ set_TopmostFont()

void Aspose::Font::Cff::CffFont::set_TopmostFont ( System::SharedPtr< Internals::CFFSubfont >  value)
protected

◆ SetFontFamilyInternally()

void Aspose::Font::Cff::CffFont::SetFontFamilyInternally ( System::String  value)
protected

Internal Font family setter.

Parameters
valueNew Font family.

◆ SetFontNameInternally()

void Aspose::Font::Cff::CffFont::SetFontNameInternally ( System::String  value)
protected

Internal Font face name setter.

Parameters
valueNew Font face name.

◆ SetStyleInternally()

void Aspose::Font::Cff::CffFont::SetStyleInternally ( System::String  value)
protected

Internal Style setter.

Parameters
valueNew Style.