Represents "OS/2" table of the TTF Font file. More...

Inherits Aspose::Font::TtfTables::TtfTableBase.

Public Member Functions

ASPOSE_FONT_SHARED_API uint16_t get_Version () const
 Gets Version value. More...
 
ASPOSE_FONT_SHARED_API System::ArrayPtr< int32_t > get_SupportedTableVersions ()
 Gets supported versions of the OS/2 table. More...
 
ASPOSE_FONT_SHARED_API int16_t get_XAvgCharWidth () const
 Gets the Average Character Width parameter. More...
 
ASPOSE_FONT_SHARED_API uint16_t get_USWeightClass () const
 Indicates the visual weight (degree of blackness or thickness of strokes) of the characters in the Font. More...
 
ASPOSE_FONT_SHARED_API uint16_t get_USWidthClass () const
 Indicates a relative change from the normal aspect ratio (width to height ratio) as specified by a font designer for the glyphs in a Font. More...
 
ASPOSE_FONT_SHARED_API uint16_t get_FSType () const
 Gets FSType value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_YSubscriptXSize () const
 Gets YSubscriptXSize value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_YSubscriptYSize () const
 Gets YSubscriptYSize value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_YSubscriptXOffset () const
 Gets YSubscriptXOffset value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_YSubscriptYOffset () const
 Gets YSubscriptYOffset value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_YSuperscriptXSize () const
 Gets YSuperscriptXSize value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_YSuperscriptYSize () const
 Gets YSuperscriptYSize value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_YSuperscriptXOffset () const
 Gets YSuperscriptXOffset value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_YSuperscriptYOffset () const
 Gets YSuperscriptYOffset value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_YStrikeoutSize () const
 Gets YStrikeoutSize value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_YStrikeoutPosition () const
 Gets YStrikeoutPosition value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_SFamilyClass () const
 This parameter is a classification of font-family design. The font class and font subclass are registered values assigned by IBM to each font family. This parameter is intended for use in selecting an alternate font when the requested font is not available. More...
 
ASPOSE_FONT_SHARED_API System::ArrayPtr< uint8_t > get_Panose () const
 This 10 byte series of numbers is used to describe the visual characteristics of a given typeface. These characteristics are then used to associate the font with other fonts of similar appearance having different names. More...
 
ASPOSE_FONT_SHARED_API System::ArrayPtr< uint32_t > get_ULUnicodeRange () const
 Gets ULUnicodeRange value. More...
 
ASPOSE_FONT_SHARED_API System::ArrayPtr< uint8_t > get_AchVendId () const
 Gets AchVendId value. More...
 
ASPOSE_FONT_SHARED_API uint16_t get_FSSelection () const
 Contains information concerning the nature of the font patterns. More...
 
ASPOSE_FONT_SHARED_API uint16_t get_USFirstCharIndex () const
 Gets USFirstCharIndex value. More...
 
ASPOSE_FONT_SHARED_API uint16_t get_USLastCharIndex () const
 Gets USLastCharIndex value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_STypoAscender () const
 Gets STypoAscender value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_STypoDescender () const
 Gets STypoDescender value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_STypoLineGap () const
 Gets STypoLineGap value. More...
 
ASPOSE_FONT_SHARED_API uint16_t get_USWinAscent () const
 Gets USWinAscent value. More...
 
ASPOSE_FONT_SHARED_API uint16_t get_USWinDescent () const
 Gets USWinDescent value. More...
 
ASPOSE_FONT_SHARED_API System::ArrayPtr< uint32_t > get_ULCodePageRange () const
 Gets ULCodePageRange value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_SXHeight () const
 Gets SXHeight value. More...
 
ASPOSE_FONT_SHARED_API int16_t get_SCapHeight () const
 Gets SCapHeight value. More...
 
ASPOSE_FONT_SHARED_API uint16_t get_USDefaultChar () const
 Gets USDefaultChar value. More...
 
ASPOSE_FONT_SHARED_API uint16_t get_USBreakChar () const
 Gets USBreakChar value. More...
 
ASPOSE_FONT_SHARED_API uint16_t get_USMaxContext () const
 Gets USMaxContext value. More...
 
ASPOSE_FONT_SHARED_API uint16_t get_USLowerOpticalPointSize () const
 Gets USLowerOpticalPointSize value. More...
 
ASPOSE_FONT_SHARED_API uint16_t get_USUpperOpticalPointSize () const
 Gets USUpperOpticalPointSize value. More...
 
ASPOSE_FONT_SHARED_API System::SharedPtr< Aspose::Font::Ttf::LicenseFlagsGetLicenseFlags ()
 Gets an embedded flags(fsType) in object representation. More...
 
- Public Member Functions inherited from Aspose::Font::TtfTables::TtfTableBase
ASPOSE_FONT_SHARED_API System::SharedPtr< TtfTableRepositoryget_TtfTables () const
 Reference to TTF table repository. More...
 
ASPOSE_FONT_SHARED_API uint32_t get_Offset () const
 Gets offset from beginning of sfnt. 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...
 

Static Public Member Functions

static ASPOSE_FONT_SHARED_API System::String get_Tag ()
 Gets table tag. 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 Member Functions

ASPOSE_FONT_SHARED_API void set_USWeightClass (uint16_t value)
 Indicates the visual weight (degree of blackness or thickness of strokes) of the characters in the Font. More...
 
ASPOSE_FONT_SHARED_API void set_USWidthClass (uint16_t value)
 Indicates a relative change from the normal aspect ratio (width to height ratio) as specified by a font designer for the glyphs in a Font. More...
 
ASPOSE_FONT_SHARED_API void set_FSType (uint16_t value)
 Gets FSType value. More...
 
ASPOSE_FONT_SHARED_API void set_Panose (System::ArrayPtr< uint8_t > value)
 This 10 byte series of numbers is used to describe the visual characteristics of a given typeface. These characteristics are then used to associate the font with other fonts of similar appearance having different names. More...
 
ASPOSE_FONT_SHARED_API void set_ULUnicodeRange (System::ArrayPtr< uint32_t > value)
 Gets ULUnicodeRange value. More...
 
ASPOSE_FONT_SHARED_API void set_FSSelection (uint16_t value)
 Contains information concerning the nature of the font patterns. More...
 
ASPOSE_FONT_SHARED_API void set_STypoAscender (int16_t value)
 Gets STypoAscender value. More...
 
ASPOSE_FONT_SHARED_API void set_STypoDescender (int16_t value)
 Gets STypoDescender value. More...
 
ASPOSE_FONT_SHARED_API void set_USWinAscent (uint16_t value)
 Gets USWinAscent value. More...
 
ASPOSE_FONT_SHARED_API void set_USWinDescent (uint16_t value)
 Gets USWinDescent value. More...
 
ASPOSE_FONT_SHARED_API void set_SXHeight (int16_t value)
 Gets SXHeight value. More...
 
ASPOSE_FONT_SHARED_API void set_SCapHeight (int16_t value)
 Gets SCapHeight value. More...
 
 TtfOs2Table (System::SharedPtr< TtfTableRepository > ttfTables, System::SharedPtr< Aspose::Font::Ttf::TtfFont > font)
 Initializes a new instance of the TtfOs2Table class. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (TtfOs2Table, CODEPORTING_ARGS(System::SharedPtr< TtfTableRepository > ttfTables, System::SharedPtr< Aspose::Font::Ttf::TtfFont > font))
 
 TtfOs2Table (System::SharedPtr< Aspose::Font::Ttf::Internals::TtfParserContext > context, uint32_t checkSum, uint32_t offset, uint32_t length)
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (TtfOs2Table, CODEPORTING_ARGS(System::SharedPtr< Aspose::Font::Ttf::Internals::TtfParserContext > context, uint32_t checkSum, uint32_t offset, uint32_t length))
 
void AdaptValuesOS2Table (int16_t ascend)
 
void SetFirstCharIndex (uint16_t value)
 
void SetLastCharIndex (uint16_t value)
 
void SetCapHeight (int16_t value)
 
void SetBreakChar (uint16_t value)
 
void SetXAvgCharWidth (int16_t value)
 
void SetMaxContext (uint16_t value)
 
void SetLowerOpticalPointSize (uint16_t value)
 
void SetUpperOpticalPointSize (uint16_t value)
 
ASPOSE_FONT_SHARED_API void AssignDataFrom (System::SharedPtr< TtfTableBase > table) override
 Designed to copy data from another table with same type, for example hhea->hhea, hmtx->hmtx. This mechanism can be helpful when table of generated font needed to copy data from another existing font(not generated) to avoid problems with linking to data source(source table from existing font has link to data source(offset, length), but this link data is superfluous for destination table, so full copy (method like Copy()) is not decision for this case. Let the table takes necessary data via this assigning mechanism. More...
 
void CopyFromHheaTable ()
 Copies some font metrics (ascent, descent, line spacing) from Hhea table of this TTF font. /> class More...
 
ASPOSE_FONT_SHARED_API void Load (System::SharedPtr< Aspose::Font::Ttf::Internals::Parsing::TTFFileReader > ttfReader) override
 Loads current table More...
 
ASPOSE_FONT_SHARED_API void Save (System::ArrayPtr< uint8_t > &tableBytes, uint32_t &length, uint32_t &checksum) override
 Saves the table to font stream More...
 
- Protected Member Functions inherited from Aspose::Font::TtfTables::TtfTableBase
System::SharedPtr< Aspose::Font::Ttf::Internals::TtfParserContext > get_Context () const
 parser context More...
 
bool get_IsNewFont () const
 indicates that the font is new More...
 
void set_IsNewFont (bool value)
 indicates that the font is new More...
 
bool get_IsModified () const
 Indicates data state in current table, if this flag is true - table data was changd and needed to be saved. More...
 
void set_IsModified (bool value)
 Indicates data state in current table, if this flag is true - table data was changd and needed to be saved. More...
 
ASPOSE_FONT_SHARED_API uint32_t get_Length () const
 Gets length of this table in bytes (actual length not padded length). More...
 
 TtfTableBase (System::SharedPtr< TtfTableRepository > ttfTables, System::SharedPtr< Aspose::Font::Ttf::TtfFont > font)
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (TtfTableBase, CODEPORTING_ARGS(System::SharedPtr< TtfTableRepository > ttfTables, System::SharedPtr< Aspose::Font::Ttf::TtfFont > font))
 
 TtfTableBase (System::SharedPtr< Aspose::Font::Ttf::Internals::TtfParserContext > context, uint32_t checkSum, uint32_t offset, uint32_t length)
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (TtfTableBase, CODEPORTING_ARGS(System::SharedPtr< Aspose::Font::Ttf::Internals::TtfParserContext > context, uint32_t checkSum, uint32_t offset, uint32_t length))
 
void LazyLoad ()
 
virtual ASPOSE_FONT_SHARED_API void LazyLoadImpl (System::SharedPtr< Aspose::Font::Ttf::Internals::Parsing::TTFFileReader > ttfReader)
 
virtual ASPOSE_FONT_SHARED_API bool IsConsistent ()
 
void LoadInitialBytes (System::ArrayPtr< uint8_t > &tableBytes, uint32_t &length, uint32_t &checksum)
 Read the initial data (all bytes) of the table and save it to array of bytes
Parameters
tableBytesArray of bytes of initial data
lengthOriginal value of length of the table
checksumOriginal value of checksum
More...
 
virtual ASPOSE_FONT_SHARED_API void SaveInitialBytes (System::ArrayPtr< uint8_t > &tableBytes, uint32_t &length, uint32_t &checksum)
 Saves the initial bytes of the table More...
 
void FinalizeWriting (System::SharedPtr< Aspose::Font::Ttf::Internals::Parsing::TTFFileWriter > writer, System::SharedPtr< System::IO::MemoryStream > stream, System::ArrayPtr< uint8_t > &tableBytes, uint32_t &length, uint32_t &checksum)
 

Static Protected Attributes

static const System::String TAG
 Table Tag. More...
 
static const System::String LowerTag
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
- Static Protected Member Functions inherited from Aspose::Font::TtfTables::TtfTableBase
static uint32_t CalculateChecksum (System::ArrayPtr< uint8_t > data)
 
- Protected Attributes inherited from Aspose::Font::TtfTables::TtfTableBase
bool IsLoaded
 Used to detect whether table already loaded More...
 

Detailed Description

Represents "OS/2" table of the TTF Font file.

Constructor & Destructor Documentation

◆ TtfOs2Table() [1/2]

Aspose::Font::TtfTables::TtfOs2Table::TtfOs2Table ( System::SharedPtr< TtfTableRepository ttfTables,
System::SharedPtr< Aspose::Font::Ttf::TtfFont font 
)
protected

Initializes a new instance of the TtfOs2Table class.

Parameters
ttfTablesTTF tables repository.
fontTTF font.

◆ TtfOs2Table() [2/2]

Aspose::Font::TtfTables::TtfOs2Table::TtfOs2Table ( System::SharedPtr< Aspose::Font::Ttf::Internals::TtfParserContext >  context,
uint32_t  checkSum,
uint32_t  offset,
uint32_t  length 
)
protected

Member Function Documentation

◆ AdaptValuesOS2Table()

void Aspose::Font::TtfTables::TtfOs2Table::AdaptValuesOS2Table ( int16_t  ascend)
protected

◆ AssignDataFrom()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfOs2Table::AssignDataFrom ( System::SharedPtr< TtfTableBase table)
overrideprotectedvirtual

Designed to copy data from another table with same type, for example hhea->hhea, hmtx->hmtx. This mechanism can be helpful when table of generated font needed to copy data from another existing font(not generated) to avoid problems with linking to data source(source table from existing font has link to data source(offset, length), but this link data is superfluous for destination table, so full copy (method like Copy()) is not decision for this case. Let the table takes necessary data via this assigning mechanism.

Parameters
tabletable to get data from

Reimplemented from Aspose::Font::TtfTables::TtfTableBase.

◆ CopyFromHheaTable()

void Aspose::Font::TtfTables::TtfOs2Table::CopyFromHheaTable ( )
protected

Copies some font metrics (ascent, descent, line spacing) from Hhea table of this TTF font. /> class

◆ get_AchVendId()

ASPOSE_FONT_SHARED_API System::ArrayPtr<uint8_t> Aspose::Font::TtfTables::TtfOs2Table::get_AchVendId ( ) const

Gets AchVendId value.

◆ get_FSSelection()

ASPOSE_FONT_SHARED_API uint16_t Aspose::Font::TtfTables::TtfOs2Table::get_FSSelection ( ) const

Contains information concerning the nature of the font patterns.

0 bit 1 ITALIC Font contains Italic characters, otherwise they are upright. 1 UNDERSCORE Characters are underscored. 2 NEGATIVE Characters have their foreground and background reversed. 3 OUTLINED Outline (hollow) characters, otherwise they are solid. 4 STRIKEOUT Characters are overstruck. 5 bit 0 BOLD Characters are emboldened. 6 REGULAR Characters are in the standard weight/style for the Font.

◆ get_FSType()

ASPOSE_FONT_SHARED_API uint16_t Aspose::Font::TtfTables::TtfOs2Table::get_FSType ( ) const

Gets FSType value.

Indicates font embedding licensing rights for the Font.

◆ get_Panose()

ASPOSE_FONT_SHARED_API System::ArrayPtr<uint8_t> Aspose::Font::TtfTables::TtfOs2Table::get_Panose ( ) const

This 10 byte series of numbers is used to describe the visual characteristics of a given typeface. These characteristics are then used to associate the font with other fonts of similar appearance having different names.

◆ get_SCapHeight()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_SCapHeight ( ) const

Gets SCapHeight value.

◆ get_SFamilyClass()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_SFamilyClass ( ) const

This parameter is a classification of font-family design. The font class and font subclass are registered values assigned by IBM to each font family. This parameter is intended for use in selecting an alternate font when the requested font is not available.

◆ get_STypoAscender()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_STypoAscender ( ) const

Gets STypoAscender value.

◆ get_STypoDescender()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_STypoDescender ( ) const

Gets STypoDescender value.

◆ get_STypoLineGap()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_STypoLineGap ( ) const

Gets STypoLineGap value.

◆ get_SupportedTableVersions()

ASPOSE_FONT_SHARED_API System::ArrayPtr<int32_t> Aspose::Font::TtfTables::TtfOs2Table::get_SupportedTableVersions ( )

Gets supported versions of the OS/2 table.

◆ get_SXHeight()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_SXHeight ( ) const

Gets SXHeight value.

◆ get_Tag()

static ASPOSE_FONT_SHARED_API System::String Aspose::Font::TtfTables::TtfOs2Table::get_Tag ( )
static

Gets table tag.

◆ get_ULCodePageRange()

ASPOSE_FONT_SHARED_API System::ArrayPtr<uint32_t> Aspose::Font::TtfTables::TtfOs2Table::get_ULCodePageRange ( ) const

Gets ULCodePageRange value.

◆ get_ULUnicodeRange()

ASPOSE_FONT_SHARED_API System::ArrayPtr<uint32_t> Aspose::Font::TtfTables::TtfOs2Table::get_ULUnicodeRange ( ) const

Gets ULUnicodeRange value.

◆ get_USBreakChar()

ASPOSE_FONT_SHARED_API uint16_t Aspose::Font::TtfTables::TtfOs2Table::get_USBreakChar ( ) const

Gets USBreakChar value.

◆ get_USDefaultChar()

ASPOSE_FONT_SHARED_API uint16_t Aspose::Font::TtfTables::TtfOs2Table::get_USDefaultChar ( ) const

Gets USDefaultChar value.

◆ get_USFirstCharIndex()

ASPOSE_FONT_SHARED_API uint16_t Aspose::Font::TtfTables::TtfOs2Table::get_USFirstCharIndex ( ) const

Gets USFirstCharIndex value.

◆ get_USLastCharIndex()

ASPOSE_FONT_SHARED_API uint16_t Aspose::Font::TtfTables::TtfOs2Table::get_USLastCharIndex ( ) const

Gets USLastCharIndex value.

◆ get_USLowerOpticalPointSize()

ASPOSE_FONT_SHARED_API uint16_t Aspose::Font::TtfTables::TtfOs2Table::get_USLowerOpticalPointSize ( ) const

Gets USLowerOpticalPointSize value.

◆ get_USMaxContext()

ASPOSE_FONT_SHARED_API uint16_t Aspose::Font::TtfTables::TtfOs2Table::get_USMaxContext ( ) const

Gets USMaxContext value.

◆ get_USUpperOpticalPointSize()

ASPOSE_FONT_SHARED_API uint16_t Aspose::Font::TtfTables::TtfOs2Table::get_USUpperOpticalPointSize ( ) const

Gets USUpperOpticalPointSize value.

◆ get_USWeightClass()

ASPOSE_FONT_SHARED_API uint16_t Aspose::Font::TtfTables::TtfOs2Table::get_USWeightClass ( ) const

Indicates the visual weight (degree of blackness or thickness of strokes) of the characters in the Font.

◆ get_USWidthClass()

ASPOSE_FONT_SHARED_API uint16_t Aspose::Font::TtfTables::TtfOs2Table::get_USWidthClass ( ) const

Indicates a relative change from the normal aspect ratio (width to height ratio) as specified by a font designer for the glyphs in a Font.

◆ get_USWinAscent()

ASPOSE_FONT_SHARED_API uint16_t Aspose::Font::TtfTables::TtfOs2Table::get_USWinAscent ( ) const

Gets USWinAscent value.

◆ get_USWinDescent()

ASPOSE_FONT_SHARED_API uint16_t Aspose::Font::TtfTables::TtfOs2Table::get_USWinDescent ( ) const

Gets USWinDescent value.

◆ get_Version()

ASPOSE_FONT_SHARED_API uint16_t Aspose::Font::TtfTables::TtfOs2Table::get_Version ( ) const

Gets Version value.

◆ get_XAvgCharWidth()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_XAvgCharWidth ( ) const

Gets the Average Character Width parameter.

◆ get_YStrikeoutPosition()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_YStrikeoutPosition ( ) const

Gets YStrikeoutPosition value.

◆ get_YStrikeoutSize()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_YStrikeoutSize ( ) const

Gets YStrikeoutSize value.

◆ get_YSubscriptXOffset()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_YSubscriptXOffset ( ) const

Gets YSubscriptXOffset value.

◆ get_YSubscriptXSize()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_YSubscriptXSize ( ) const

Gets YSubscriptXSize value.

◆ get_YSubscriptYOffset()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_YSubscriptYOffset ( ) const

Gets YSubscriptYOffset value.

◆ get_YSubscriptYSize()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_YSubscriptYSize ( ) const

Gets YSubscriptYSize value.

◆ get_YSuperscriptXOffset()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_YSuperscriptXOffset ( ) const

Gets YSuperscriptXOffset value.

◆ get_YSuperscriptXSize()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_YSuperscriptXSize ( ) const

Gets YSuperscriptXSize value.

◆ get_YSuperscriptYOffset()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_YSuperscriptYOffset ( ) const

Gets YSuperscriptYOffset value.

◆ get_YSuperscriptYSize()

ASPOSE_FONT_SHARED_API int16_t Aspose::Font::TtfTables::TtfOs2Table::get_YSuperscriptYSize ( ) const

Gets YSuperscriptYSize value.

◆ GetLicenseFlags()

ASPOSE_FONT_SHARED_API System::SharedPtr<Aspose::Font::Ttf::LicenseFlags> Aspose::Font::TtfTables::TtfOs2Table::GetLicenseFlags ( )

Gets an embedded flags(fsType) in object representation.

Returns
Embedded flags.

◆ Load()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfOs2Table::Load ( System::SharedPtr< Aspose::Font::Ttf::Internals::Parsing::TTFFileReader >  ttfReader)
overrideprotectedvirtual

Loads current table

Reimplemented from Aspose::Font::TtfTables::TtfTableBase.

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [1/2]

Aspose::Font::TtfTables::TtfOs2Table::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( TtfOs2Table  ,
CODEPORTING_ARGS(System::SharedPtr< TtfTableRepository > ttfTables, System::SharedPtr< Aspose::Font::Ttf::TtfFont > font)   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [2/2]

Aspose::Font::TtfTables::TtfOs2Table::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( TtfOs2Table  ,
CODEPORTING_ARGS(System::SharedPtr< Aspose::Font::Ttf::Internals::TtfParserContext > context, uint32_t checkSum, uint32_t offset, uint32_t length)   
)
protected

◆ Save()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfOs2Table::Save ( System::ArrayPtr< uint8_t > &  tableBytes,
uint32_t &  length,
uint32_t &  checksum 
)
overrideprotectedvirtual

Saves the table to font stream

base mathod implementation simply retrieves initial table data

Reimplemented from Aspose::Font::TtfTables::TtfTableBase.

◆ set_FSSelection()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfOs2Table::set_FSSelection ( uint16_t  value)
protected

Contains information concerning the nature of the font patterns.

0 bit 1 ITALIC Font contains Italic characters, otherwise they are upright. 1 UNDERSCORE Characters are underscored. 2 NEGATIVE Characters have their foreground and background reversed. 3 OUTLINED Outline (hollow) characters, otherwise they are solid. 4 STRIKEOUT Characters are overstruck. 5 bit 0 BOLD Characters are emboldened. 6 REGULAR Characters are in the standard weight/style for the Font.

◆ set_FSType()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfOs2Table::set_FSType ( uint16_t  value)
protected

Gets FSType value.

Indicates font embedding licensing rights for the Font.

◆ set_Panose()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfOs2Table::set_Panose ( System::ArrayPtr< uint8_t >  value)
protected

This 10 byte series of numbers is used to describe the visual characteristics of a given typeface. These characteristics are then used to associate the font with other fonts of similar appearance having different names.

◆ set_SCapHeight()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfOs2Table::set_SCapHeight ( int16_t  value)
protected

Gets SCapHeight value.

◆ set_STypoAscender()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfOs2Table::set_STypoAscender ( int16_t  value)
protected

Gets STypoAscender value.

◆ set_STypoDescender()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfOs2Table::set_STypoDescender ( int16_t  value)
protected

Gets STypoDescender value.

◆ set_SXHeight()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfOs2Table::set_SXHeight ( int16_t  value)
protected

Gets SXHeight value.

◆ set_ULUnicodeRange()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfOs2Table::set_ULUnicodeRange ( System::ArrayPtr< uint32_t >  value)
protected

Gets ULUnicodeRange value.

◆ set_USWeightClass()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfOs2Table::set_USWeightClass ( uint16_t  value)
protected

Indicates the visual weight (degree of blackness or thickness of strokes) of the characters in the Font.

◆ set_USWidthClass()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfOs2Table::set_USWidthClass ( uint16_t  value)
protected

Indicates a relative change from the normal aspect ratio (width to height ratio) as specified by a font designer for the glyphs in a Font.

◆ set_USWinAscent()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfOs2Table::set_USWinAscent ( uint16_t  value)
protected

Gets USWinAscent value.

◆ set_USWinDescent()

ASPOSE_FONT_SHARED_API void Aspose::Font::TtfTables::TtfOs2Table::set_USWinDescent ( uint16_t  value)
protected

Gets USWinDescent value.

◆ SetBreakChar()

void Aspose::Font::TtfTables::TtfOs2Table::SetBreakChar ( uint16_t  value)
protected

◆ SetCapHeight()

void Aspose::Font::TtfTables::TtfOs2Table::SetCapHeight ( int16_t  value)
protected

◆ SetFirstCharIndex()

void Aspose::Font::TtfTables::TtfOs2Table::SetFirstCharIndex ( uint16_t  value)
protected

◆ SetLastCharIndex()

void Aspose::Font::TtfTables::TtfOs2Table::SetLastCharIndex ( uint16_t  value)
protected

◆ SetLowerOpticalPointSize()

void Aspose::Font::TtfTables::TtfOs2Table::SetLowerOpticalPointSize ( uint16_t  value)
protected

◆ SetMaxContext()

void Aspose::Font::TtfTables::TtfOs2Table::SetMaxContext ( uint16_t  value)
protected

◆ SetUpperOpticalPointSize()

void Aspose::Font::TtfTables::TtfOs2Table::SetUpperOpticalPointSize ( uint16_t  value)
protected

◆ SetXAvgCharWidth()

void Aspose::Font::TtfTables::TtfOs2Table::SetXAvgCharWidth ( int16_t  value)
protected

Member Data Documentation

◆ LowerTag

const System::String Aspose::Font::TtfTables::TtfOs2Table::LowerTag
staticprotected

◆ TAG

const System::String Aspose::Font::TtfTables::TtfOs2Table::TAG
staticprotected

Table Tag.