public class TtfOs2Table extends TtfTableBase
Represents "OS/2" table of the TTF Font file.
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAchVendId()
Gets AchVendId value.
|
int |
getFSSelection()
Contains information concerning the nature of the font patterns.
|
int |
getFSType()
Gets FSType value.
|
LicenseFlags |
getLicenseFlags()
Gets an embedded flags(fsType) in object representation.
|
byte[] |
getPanose()
This 10 byte series of numbers is used to describe the visual characteristics of a given typeface.
|
short |
getSCapHeight()
Gets SCapHeight value.
|
short |
getSFamilyClass()
This parameter is a classification of font-family design.
|
short |
getSTypoAscender()
Gets STypoAscender value.
|
short |
getSTypoDescender()
Gets STypoDescender value.
|
short |
getSTypoLineGap()
Gets STypoLineGap value.
|
int[] |
getSupportedTableVersions()
Gets supported versions of the OS/2 table.
|
short |
getSXHeight()
Gets SXHeight value.
|
static String |
getTag()
Gets table tag.
|
long[] |
getULCodePageRange()
Gets ULCodePageRange value.
|
long[] |
getULUnicodeRange()
Gets ULUnicodeRange value.
|
int |
getUSBreakChar()
Gets USBreakChar value.
|
int |
getUSDefaultChar()
Gets USDefaultChar value.
|
int |
getUSFirstCharIndex()
Gets USFirstCharIndex value.
|
int |
getUSLastCharIndex()
Gets USLastCharIndex value.
|
int |
getUSLowerOpticalPointSize()
Gets USLowerOpticalPointSize value.
|
int |
getUSMaxContext()
Gets USMaxContext value.
|
int |
getUSUpperOpticalPointSize()
Gets USUpperOpticalPointSize value.
|
int |
getUSWeightClass()
Indicates the visual weight (degree of blackness or thickness of strokes) of the characters in the Font.
|
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.
|
int |
getUSWinAscent()
Gets USWinAscent value.
|
int |
getUSWinDescent()
Gets USWinDescent value.
|
int |
getVersion()
Gets Version value.
|
short |
getXAvgCharWidth()
Gets the Average Character Width parameter.
|
short |
getYStrikeoutPosition()
Gets YStrikeoutPosition value.
|
short |
getYStrikeoutSize()
Gets YStrikeoutSize value.
|
short |
getYSubscriptXOffset()
Gets YSubscriptXOffset value.
|
short |
getYSubscriptXSize()
Gets YSubscriptXSize value.
|
short |
getYSubscriptYOffset()
Gets YSubscriptYOffset value.
|
short |
getYSubscriptYSize()
Gets YSubscriptYSize value.
|
short |
getYSuperscriptXOffset()
Gets YSuperscriptXOffset value.
|
short |
getYSuperscriptXSize()
Gets YSuperscriptXSize value.
|
short |
getYSuperscriptYOffset()
Gets YSuperscriptYOffset value.
|
short |
getYSuperscriptYSize()
Gets YSuperscriptYSize value.
|
getLength, getOffset, getTtfTablespublic static String getTag()
Gets table tag.
public int getVersion()
Gets Version value.
public int[] getSupportedTableVersions()
Gets supported versions of the OS/2 table.
public short getXAvgCharWidth()
Gets the Average Character Width parameter.
public int getUSWeightClass()
Indicates the visual weight (degree of blackness or thickness of strokes) of the characters in the Font.
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.
public int getFSType()
Gets FSType value.
public short getYSubscriptXSize()
Gets YSubscriptXSize value.
public short getYSubscriptYSize()
Gets YSubscriptYSize value.
public short getYSubscriptXOffset()
Gets YSubscriptXOffset value.
public short getYSubscriptYOffset()
Gets YSubscriptYOffset value.
public short getYSuperscriptXSize()
Gets YSuperscriptXSize value.
public short getYSuperscriptYSize()
Gets YSuperscriptYSize value.
public short getYSuperscriptXOffset()
Gets YSuperscriptXOffset value.
public short getYSuperscriptYOffset()
Gets YSuperscriptYOffset value.
public short getYStrikeoutSize()
Gets YStrikeoutSize value.
public short getYStrikeoutPosition()
Gets YStrikeoutPosition value.
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.
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.
public long[] getULUnicodeRange()
Gets ULUnicodeRange value.
public byte[] getAchVendId()
Gets AchVendId value.
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.
public int getUSFirstCharIndex()
Gets USFirstCharIndex value.
public int getUSLastCharIndex()
Gets USLastCharIndex value.
public short getSTypoAscender()
Gets STypoAscender value.
public short getSTypoDescender()
Gets STypoDescender value.
public short getSTypoLineGap()
Gets STypoLineGap value.
public int getUSWinAscent()
Gets USWinAscent value.
public int getUSWinDescent()
Gets USWinDescent value.
public long[] getULCodePageRange()
Gets ULCodePageRange value.
public short getSXHeight()
Gets SXHeight value.
public short getSCapHeight()
Gets SCapHeight value.
public int getUSDefaultChar()
Gets USDefaultChar value.
public int getUSBreakChar()
Gets USBreakChar value.
public int getUSMaxContext()
Gets USMaxContext value.
public int getUSLowerOpticalPointSize()
Gets USLowerOpticalPointSize value.
public int getUSUpperOpticalPointSize()
Gets USUpperOpticalPointSize value.
public LicenseFlags getLicenseFlags()
Gets an embedded flags(fsType) in object representation.
Copyright © 2025 Aspose. All Rights Reserved.