TtfOs2Table

Inheritance: java.lang.Object, com.aspose.font.TtfTableBase

public class TtfOs2Table extends TtfTableBase

Represents “OS/2” table of the TTF Font file.

Methods

MethodDescription
equals(Object arg0)
getAchVendId()Gets AchVendId value.
getClass()
getFSSelection()Contains information concerning the nature of the font patterns.
getFSType()Gets FSType value.
getLicenseFlags()Gets an embedded flags(fsType) in object representation.
getOffset()Gets offset from beginning of sfnt.
getPanose()This 10 byte series of numbers is used to describe the visual characteristics of a given typeface.
getSCapHeight()Gets SCapHeight value.
getSFamilyClass()This parameter is a classification of font-family design.
getSTypoAscender()Gets STypoAscender value.
getSTypoDescender()Gets STypoDescender value.
getSTypoLineGap()Gets STypoLineGap value.
getSXHeight()Gets SXHeight value.
getSupportedTableVersions()Gets supported versions of the OS/2 table.
getTag()Gets table tag.
getTtfTables()Reference to TTF table repository.
getULCodePageRange()Gets ULCodePageRange value.
getULUnicodeRange()Gets ULUnicodeRange value.
getUSBreakChar()Gets USBreakChar value.
getUSDefaultChar()Gets USDefaultChar value.
getUSFirstCharIndex()Gets USFirstCharIndex value.
getUSLastCharIndex()Gets USLastCharIndex value.
getUSLowerOpticalPointSize()Gets USLowerOpticalPointSize value.
getUSMaxContext()Gets USMaxContext value.
getUSUpperOpticalPointSize()Gets USUpperOpticalPointSize value.
getUSWeightClass()Indicates the visual weight (degree of blackness or thickness of strokes) of the characters in the Font.
getUSWidthClass()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.
getUSWinAscent()Gets USWinAscent value.
getUSWinDescent()Gets USWinDescent value.
getVersion()Gets Version value.
getXAvgCharWidth()Gets the Average Character Width parameter.
getYStrikeoutPosition()Gets YStrikeoutPosition value.
getYStrikeoutSize()Gets YStrikeoutSize value.
getYSubscriptXOffset()Gets YSubscriptXOffset value.
getYSubscriptXSize()Gets YSubscriptXSize value.
getYSubscriptYOffset()Gets YSubscriptYOffset value.
getYSubscriptYSize()Gets YSubscriptYSize value.
getYSuperscriptXOffset()Gets YSuperscriptXOffset value.
getYSuperscriptXSize()Gets YSuperscriptXSize value.
getYSuperscriptYOffset()Gets YSuperscriptYOffset value.
getYSuperscriptYSize()Gets YSuperscriptYSize value.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getAchVendId()

public byte[] getAchVendId()

Gets AchVendId value.

Returns: byte[] - AchVendId value.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFSSelection()

public int getFSSelection()

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.

Returns: int - The information.

getFSType()

public int getFSType()

Gets FSType value.


Indicates font embedding licensing rights for the Font.

Returns: int - FSType value.

getLicenseFlags()

public LicenseFlags getLicenseFlags()

Gets an embedded flags(fsType) in object representation.

Returns: LicenseFlags - Embedded flags.

getOffset()

public long getOffset()

Gets offset from beginning of sfnt.

Returns: long - Offset from beginning of sfnt.

getPanose()

public byte[] getPanose()

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.

Returns: byte[] - The visual characteristics of a given typeface.

getSCapHeight()

public short getSCapHeight()

Gets SCapHeight value.

Returns: short - SCapHeight value.

getSFamilyClass()

public short getSFamilyClass()

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.

Returns: short - Classification of font-family design.

getSTypoAscender()

public short getSTypoAscender()

Gets STypoAscender value.

Returns: short - STypoAscender value.

getSTypoDescender()

public short getSTypoDescender()

Gets STypoDescender value.

Returns: short - STypoDescender value.

getSTypoLineGap()

public short getSTypoLineGap()

Gets STypoLineGap value.

Returns: short - STypoLineGap value.

getSXHeight()

public short getSXHeight()

Gets SXHeight value.

Returns: short - SXHeight value.

getSupportedTableVersions()

public int[] getSupportedTableVersions()

Gets supported versions of the OS/2 table.

Returns: int[] - Supported versions of the OS/2 table.

getTag()

public static String getTag()

Gets table tag.

Returns: java.lang.String - Table tag.

getTtfTables()

public TtfTableRepository getTtfTables()

Reference to TTF table repository.

Returns: TtfTableRepository - Reference to TTF table repository.

getULCodePageRange()

public long[] getULCodePageRange()

Gets ULCodePageRange value.

Returns: long[] - ULCodePageRange value.

getULUnicodeRange()

public long[] getULUnicodeRange()

Gets ULUnicodeRange value.

Returns: long[] - ULUnicodeRange value.

getUSBreakChar()

public int getUSBreakChar()

Gets USBreakChar value.

Returns: int - USBreakChar value.

getUSDefaultChar()

public int getUSDefaultChar()

Gets USDefaultChar value.

Returns: int - USDefaultChar value.

getUSFirstCharIndex()

public int getUSFirstCharIndex()

Gets USFirstCharIndex value.

Returns: int - USFirstCharIndex value.

getUSLastCharIndex()

public int getUSLastCharIndex()

Gets USLastCharIndex value.

Returns: int - USLastCharIndex value.

getUSLowerOpticalPointSize()

public int getUSLowerOpticalPointSize()

Gets USLowerOpticalPointSize value.

Returns: int - The USLowerOpticalPointSize value.

getUSMaxContext()

public int getUSMaxContext()

Gets USMaxContext value.

Returns: int - UsMaxContext value.

getUSUpperOpticalPointSize()

public int getUSUpperOpticalPointSize()

Gets USUpperOpticalPointSize value.

Returns: int - The USUpperOpticalPointSize value.

getUSWeightClass()

public int getUSWeightClass()

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

Returns: int - The visual weight (degree of blackness or thickness of strokes) of the characters in the Font.

getUSWidthClass()

public int getUSWidthClass()

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.

Returns: int - A relative change from the normal aspect ratio (width to height ratio) as specified by a font designer for the glyphs in a Font.

getUSWinAscent()

public int getUSWinAscent()

Gets USWinAscent value.

Returns: int - USWinAscent value.

getUSWinDescent()

public int getUSWinDescent()

Gets USWinDescent value.

Returns: int - USWinDescent value.

getVersion()

public int getVersion()

Gets Version value.

Returns: int - Version value.

getXAvgCharWidth()

public short getXAvgCharWidth()

Gets the Average Character Width parameter.

Returns: short - The Average Character Width parameter.

getYStrikeoutPosition()

public short getYStrikeoutPosition()

Gets YStrikeoutPosition value.

Returns: short - YStrikeoutPosition value.

getYStrikeoutSize()

public short getYStrikeoutSize()

Gets YStrikeoutSize value.

Returns: short - YStrikeoutSize value.

getYSubscriptXOffset()

public short getYSubscriptXOffset()

Gets YSubscriptXOffset value.

Returns: short - YSubscriptXOffset value.

getYSubscriptXSize()

public short getYSubscriptXSize()

Gets YSubscriptXSize value.

Returns: short - YSubscriptXSize value.

getYSubscriptYOffset()

public short getYSubscriptYOffset()

Gets YSubscriptYOffset value.

Returns: short - YSubscriptYOffset value.

getYSubscriptYSize()

public short getYSubscriptYSize()

Gets YSubscriptYSize value.

Returns: short - YSubscriptYSize value.

getYSuperscriptXOffset()

public short getYSuperscriptXOffset()

Gets YSuperscriptXOffset value.

Returns: short - YSuperscriptXOffset value.

getYSuperscriptXSize()

public short getYSuperscriptXSize()

Gets YSuperscriptXSize value.

Returns: short - YSuperscriptXSize value.

getYSuperscriptYOffset()

public short getYSuperscriptYOffset()

Gets YSuperscriptYOffset value.

Returns: short - YSuperscriptYOffset value.

getYSuperscriptYSize()

public short getYSuperscriptYSize()

Gets YSuperscriptYSize value.

Returns: short - YSuperscriptYSize value.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int