Represents base Font class. More...

Inherits Aspose::Font::IFont, Aspose::Font::Glyphs::IGlyphAccessor, and Aspose::Font::IFontSaver.

Inherited by Aspose::Font::Cff::CffFont, Aspose::Font::Ttf::TtfFont, and Aspose::Font::Type1::Type1Font.

Public Member Functions

ASPOSE_FONT_SHARED_API Aspose::Font::FontType get_FontType () override=0
 Gets Font type. More...
 
ASPOSE_FONT_SHARED_API System::String get_Style () override=0
 Gets or Sets Font style. This is a raw string value provided by Font file. More...
 
ASPOSE_FONT_SHARED_API void set_Style (System::String value) override=0
 Gets or Sets Font style. This is a raw string value provided by Font file. More...
 
ASPOSE_FONT_SHARED_API Aspose::Font::FontStyle get_FontStyle () override=0
 Gets Font style. This is a value computed and represented in generalized type. More...
 
ASPOSE_FONT_SHARED_API System::String get_FontFamily () override=0
 Gets or Sets Font family. More...
 
ASPOSE_FONT_SHARED_API void set_FontFamily (System::String value) override=0
 Gets or Sets Font family. More...
 
ASPOSE_FONT_SHARED_API System::String get_FontName () override=0
 Gets or Sets Font face name. More...
 
ASPOSE_FONT_SHARED_API void set_FontName (System::String value) override=0
 Gets or Sets Font face name. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< MultiLanguageStringget_FontNames () override=0
 Gets Font names. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< MultiLanguageStringget_PostscriptNames () override=0
 Gets postscript Font names. More...
 
ASPOSE_FONT_SHARED_API int32_t get_NumGlyphs () override=0
 Gets number of glyphs in the Font. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< IFontMetricsget_Metrics () override=0
 Gets Font metrics. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< IFontEncodingget_Encoding () override=0
 Gets Font encoding. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< Glyphs::IGlyphAccessorget_GlyphAccessor () override
 Font glyph accessor. Retrieves glyphs and glyph identifiers. More...
 
ASPOSE_FONT_SHARED_API Aspose::Font::Glyphs::GlyphIdType get_GlyphIdType () override=0
 Glyph id type specification. For consumers who needs to know the 'bytes[]' real type. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Sources::FontDefinitionget_FontDefinition () override=0
 Gets Font definition. 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::SharedPtr< Aspose::Font::FontConvert (Aspose::Font::FontType fontType) override=0
 Converts the Font into another format. 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...
 
ASPOSE_FONT_SHARED_API System::ArrayPtr< System::SharedPtr< Glyphs::GlyphId > > GetAllGlyphIds () override=0
 Returns all glyph ids, available in the Font. Glyph id is a unique number for a glyph, which is font type dependent. 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...
 

Static Public Member Functions

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

enum  FontSaveRequirements : uint8_t { FontSaveRequirements::SaveAllTables, FontSaveRequirements::SavePdfTables }
 

Protected Member Functions

virtual ASPOSE_FONT_SHARED_API void set_FontNames (System::SharedPtr< MultiLanguageString > value)=0
 Gets Font names. More...
 
virtual ASPOSE_FONT_SHARED_API void set_PostscriptNames (System::SharedPtr< MultiLanguageString > value)=0
 Gets postscript Font names. More...
 
System::SharedPtr< Rendering::FontRenderingContext > get_RenderingContext () const
 
 Font ()
 
void Save (System::SharedPtr< System::IO::Stream > stream, Font::FontSaveRequirements saveRequirements)
 
void Save (System::String fileName, Font::FontSaveRequirements saveRequirements)
 
virtual System::SharedPtr< IFontSubset > DoSubset ()=0
 Creates font subset More...
 
virtual ASPOSE_FONT_SHARED_API ~Font ()
 

Static Protected Member Functions

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

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 

Detailed Description

Represents base Font class.

Member Enumeration Documentation

◆ FontSaveRequirements

enum Aspose::Font::Font::FontSaveRequirements : uint8_t
strongprotected
Enumerator
SaveAllTables 
SavePdfTables 

Constructor & Destructor Documentation

◆ Font()

Aspose::Font::Font::Font ( )
protected

◆ ~Font()

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

Member Function Documentation

◆ Convert()

ASPOSE_FONT_SHARED_API System::SharedPtr<Aspose::Font::Font> Aspose::Font::Font::Convert ( Aspose::Font::FontType  fontType)
overridepure virtual

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::IFont.

Implemented in Aspose::Font::Ttf::TtfFont, Aspose::Font::Cff::CffFont, and Aspose::Font::Type1::Type1Font.

◆ Create() [1/2]

static System::SharedPtr<Aspose::Font::Font> Aspose::Font::Font::Create ( Aspose::Font::FontType  fontType)
staticprotected

Creates new font.

Note: TTF font type is now supported only.

Parameters
fontTypeFont type.
Returns
New font.

◆ Create() [2/2]

static System::SharedPtr<Aspose::Font::Font> Aspose::Font::Font::Create ( Aspose::Font::FontType  fontType,
System::SharedPtr< Aspose::Font::Font baseFont,
System::SharedPtr< FontAdoptionOptions >  fontAdoptionOptions 
)
staticprotected

Creates new font based on other font. FontAdoptionOptions object defines a way how the baseFont is used with the new font creation.

Note: TTF font type is now supported only.

Parameters
fontTypeFont type.
baseFontFont to take settings from.
fontAdoptionOptionsOptions to manage how the baseFont settings affects new font settings.
Returns
New font.

◆ DoSubset()

virtual System::SharedPtr<IFontSubset> Aspose::Font::Font::DoSubset ( )
protectedpure virtual

Creates font subset

Returns
font subset

Implemented in Aspose::Font::Ttf::TtfFont, Aspose::Font::Cff::CffFont, and Aspose::Font::Type1::Type1Font.

◆ get_Encoding()

ASPOSE_FONT_SHARED_API System::SharedPtr<IFontEncoding> Aspose::Font::Font::get_Encoding ( )
overridepure virtual

◆ get_FontDefinition()

ASPOSE_FONT_SHARED_API System::SharedPtr<Aspose::Font::Sources::FontDefinition> Aspose::Font::Font::get_FontDefinition ( )
overridepure virtual

◆ get_FontFamily()

ASPOSE_FONT_SHARED_API System::String Aspose::Font::Font::get_FontFamily ( )
overridepure virtual

◆ get_FontName()

ASPOSE_FONT_SHARED_API System::String Aspose::Font::Font::get_FontName ( )
overridepure virtual

◆ get_FontNames()

ASPOSE_FONT_SHARED_API System::SharedPtr<MultiLanguageString> Aspose::Font::Font::get_FontNames ( )
overridepure virtual

◆ get_FontSaver()

ASPOSE_FONT_SHARED_API System::SharedPtr<IFontSaver> Aspose::Font::Font::get_FontSaver ( )
overridevirtual

Gets Font save functionality.

Implements Aspose::Font::IFont.

◆ get_FontStyle()

ASPOSE_FONT_SHARED_API Aspose::Font::FontStyle Aspose::Font::Font::get_FontStyle ( )
overridepure virtual

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

Implements Aspose::Font::IFont.

Implemented in Aspose::Font::Ttf::TtfFont, Aspose::Font::Cff::CffFont, Aspose::Font::Type1::Type1Font, and Aspose::Font::Type1::Type1MetricFont.

◆ get_FontType()

ASPOSE_FONT_SHARED_API Aspose::Font::FontType Aspose::Font::Font::get_FontType ( )
overridepure virtual

◆ get_GlyphAccessor()

ASPOSE_FONT_SHARED_API System::SharedPtr<Glyphs::IGlyphAccessor> Aspose::Font::Font::get_GlyphAccessor ( )
overridevirtual

Font glyph accessor. Retrieves glyphs and glyph identifiers.

Implements Aspose::Font::IFont.

◆ get_GlyphIdType()

ASPOSE_FONT_SHARED_API Aspose::Font::Glyphs::GlyphIdType Aspose::Font::Font::get_GlyphIdType ( )
overridepure virtual

Glyph id type specification. For consumers who needs to know the 'bytes[]' real type.

Implements Aspose::Font::Glyphs::IGlyphAccessor.

Implemented in Aspose::Font::Ttf::TtfFont, Aspose::Font::Cff::CffFont, and Aspose::Font::Type1::Type1Font.

◆ get_Metrics()

ASPOSE_FONT_SHARED_API System::SharedPtr<IFontMetrics> Aspose::Font::Font::get_Metrics ( )
overridepure virtual

◆ get_NumGlyphs()

ASPOSE_FONT_SHARED_API int32_t Aspose::Font::Font::get_NumGlyphs ( )
overridepure virtual

◆ get_PostscriptNames()

ASPOSE_FONT_SHARED_API System::SharedPtr<MultiLanguageString> Aspose::Font::Font::get_PostscriptNames ( )
overridepure virtual

◆ get_RenderingContext()

System::SharedPtr<Rendering::FontRenderingContext> Aspose::Font::Font::get_RenderingContext ( ) const
protected

◆ get_Style()

ASPOSE_FONT_SHARED_API System::String Aspose::Font::Font::get_Style ( )
overridepure virtual

Gets or Sets Font style. This is a raw string value provided by Font file.

Implements Aspose::Font::IFont.

Implemented in Aspose::Font::Ttf::TtfFont, Aspose::Font::Cff::CffFont, Aspose::Font::Type1::Type1Font, and Aspose::Font::Type1::Type1MetricFont.

◆ GetAllGlyphIds()

ASPOSE_FONT_SHARED_API System::ArrayPtr<System::SharedPtr<Glyphs::GlyphId> > Aspose::Font::Font::GetAllGlyphIds ( )
overridepure virtual

Returns all glyph ids, available in the Font. Glyph id is a unique number for a glyph, which is font type dependent. For example: Type1's id is a glyph name, instance of (GlyphStringId) class. TTF's id is an int index, instance of (GlyphUInt32Id) class.

Returns
Glyph identifiers.

Implements Aspose::Font::Glyphs::IGlyphAccessor.

Implemented in Aspose::Font::Ttf::TtfFont, Aspose::Font::Cff::CffFont, Aspose::Font::Type1::Type1Font, and Aspose::Font::Type1::Type1MetricFont.

◆ GetGlyphById()

ASPOSE_FONT_SHARED_API System::SharedPtr<Glyphs::Glyph> Aspose::Font::Font::GetGlyphById ( System::SharedPtr< Glyphs::GlyphId id)
overridepure virtual

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.

Parameters
idGlyph id.
Returns
Glyph.

◆ GetGlyphsForText()

ASPOSE_FONT_SHARED_API System::ArrayPtr<System::SharedPtr<Glyphs::GlyphId> > Aspose::Font::Font::GetGlyphsForText ( System::String  text)
overridevirtual

Gets glyphs representation for text.

Parameters
textInput text.
Returns
GlyphId array.

Implements Aspose::Font::Glyphs::IGlyphAccessor.

Reimplemented in Aspose::Font::Ttf::TtfFont.

◆ Open() [1/5]

static ASPOSE_FONT_SHARED_API System::SharedPtr<Aspose::Font::Font> Aspose::Font::Font::Open ( System::SharedPtr< Aspose::Font::Sources::FontDefinition fontDefinition)
static

Opens a font, using FontDefinition object.

Parameters
fontDefinitionFont definition object.
Returns
Font loaded.

◆ Open() [2/5]

static ASPOSE_FONT_SHARED_API System::SharedPtr<Aspose::Font::Font> Aspose::Font::Font::Open ( Aspose::Font::FontType  fontType,
System::SharedPtr< Sources::StreamSource fontStreamSource 
)
static

Opens a font, using font type and stream source.

Parameters
fontTypeFont type.
fontStreamSourceStream source for font.
Returns
Font loaded.

◆ Open() [3/5]

static ASPOSE_FONT_SHARED_API System::SharedPtr<Aspose::Font::Font> Aspose::Font::Font::Open ( Aspose::Font::FontType  fontType,
System::String  fileName 
)
static

Opens a font, using font type and font file name.

Parameters
fontTypeFont type.
fileNameFont file name.
Returns
Font loaded.

◆ Open() [4/5]

static ASPOSE_FONT_SHARED_API System::SharedPtr<Aspose::Font::Font> Aspose::Font::Font::Open ( Aspose::Font::FontType  fontType,
System::ArrayPtr< uint8_t >  fontData 
)
static

Opens a font, using font type and font data byte array.

Parameters
fontTypeFont type.
fontDataByte array to load font from.
Returns
Font loaded.

◆ Open() [5/5]

static System::SharedPtr<Aspose::Font::Font> Aspose::Font::Font::Open ( System::SharedPtr< IFontSource fontSource,
System::SharedPtr< Sources::IFontSearcher >  fontSearchSpec 
)
staticprotected

Opens a font: searches for the Font in font source, represented with IFontSource.

Parameters
fontSourcefont source.
fontSearchSpecfont searcher.
Returns
font loaded, if found, null else

◆ ParseAndGeneralizeFontStyle()

static Aspose::Font::FontStyle Aspose::Font::Font::ParseAndGeneralizeFontStyle ( System::String  fontStyle)
staticprotected

Parsing the font style information

◆ Save() [1/4]

ASPOSE_FONT_SHARED_API void Aspose::Font::Font::Save ( System::SharedPtr< System::IO::Stream stream)
overridevirtual

Saves the Font into original format.

Note: following Font types are supported for saving: New TTF Fonts; TTF Font subsets; CFF Font subsets; Type1 Font subsets.

Parameters
streamStream to save font.

Implements Aspose::Font::IFontSaver.

◆ Save() [2/4]

ASPOSE_FONT_SHARED_API void Aspose::Font::Font::Save ( System::String  fileName)
overridevirtual

Saves the Font into original format.

Note: following Font types are supported for saving: New TTF Fonts; TTF Font subsets; CFF Font subsets; Type1 Font subsets.

Parameters
fileNameFile to save font.

Implements Aspose::Font::IFontSaver.

◆ Save() [3/4]

void Aspose::Font::Font::Save ( System::SharedPtr< System::IO::Stream stream,
Font::FontSaveRequirements  saveRequirements 
)
protected

◆ Save() [4/4]

void Aspose::Font::Font::Save ( System::String  fileName,
Font::FontSaveRequirements  saveRequirements 
)
protected

◆ SaveToFormat()

ASPOSE_FONT_SHARED_API void Aspose::Font::Font::SaveToFormat ( System::SharedPtr< System::IO::Stream stream,
FontSavingFormats  outFormat 
)
overridevirtual

Saves the Font into format specified.

Parameters
streamstream to save font
outFormatdesired format

Implements Aspose::Font::IFontSaver.

◆ set_FontFamily()

ASPOSE_FONT_SHARED_API void Aspose::Font::Font::set_FontFamily ( System::String  value)
overridepure virtual

◆ set_FontName()

ASPOSE_FONT_SHARED_API void Aspose::Font::Font::set_FontName ( System::String  value)
overridepure virtual

◆ set_FontNames()

virtual ASPOSE_FONT_SHARED_API void Aspose::Font::Font::set_FontNames ( System::SharedPtr< MultiLanguageString value)
protectedpure virtual

◆ set_PostscriptNames()

virtual ASPOSE_FONT_SHARED_API void Aspose::Font::Font::set_PostscriptNames ( System::SharedPtr< MultiLanguageString value)
protectedpure virtual

◆ set_Style()

ASPOSE_FONT_SHARED_API void Aspose::Font::Font::set_Style ( System::String  value)
overridepure virtual

Gets or Sets Font style. This is a raw string value provided by Font file.

Implements Aspose::Font::IFont.

Implemented in Aspose::Font::Ttf::TtfFont, Aspose::Font::Cff::CffFont, and Aspose::Font::Type1::Type1Font.

◆ SplitSubsetFontName()

static void Aspose::Font::Font::SplitSubsetFontName ( System::String  subsetFontName,
System::String fontName,
System::String subsetTag 
)
staticprotected

Splits subset font name and returns font name and subset tag

Parameters
subsetFontNamefull name of font subset
fontNamefont name part
subsetTagtag part