TtfOs2Table

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

public class TtfOs2Table extends TtfTableBase

表示 “OS/2” 表的 TTF 字体文件。

方法

方法描述
equals(Object arg0)
getAchVendId()获取 AchVendId 值。
getClass()
getFSSelection()包含有关字体模式性质的信息。
getFSType()获取 FSType 值。
getLicenseFlags()获取对象表示中的嵌入标志(fsType)。
getOffset()获取自 sfnt 开始的偏移量。
getPanose()这串 10 字节的数字用于描述给定字体的视觉特性。
getSCapHeight()获取 SCapHeight 值。
getSFamilyClass()此参数是字体族设计的分类。
getSTypoAscender()获取 STypoAscender 值。
getSTypoDescender()获取 STypoDescender 值。
getSTypoLineGap()获取 STypoLineGap 值。
getSXHeight()获取 SXHeight 值。
getSupportedTableVersions()获取 OS/2 表的受支持版本。
getTag()获取表标签。
getTtfTables()指向 TTF 表仓库的引用。
getULCodePageRange()获取 ULCodePageRange 值。
getULUnicodeRange()获取 ULUnicodeRange 值。
getUSBreakChar()获取 USBreakChar 值。
getUSDefaultChar()获取 USDefaultChar 值。
getUSFirstCharIndex()获取 USFirstCharIndex 值。
getUSLastCharIndex()获取 USLastCharIndex 值。
getUSLowerOpticalPointSize()获取 USLowerOpticalPointSize 值。
getUSMaxContext()获取 USMaxContext 值。
getUSUpperOpticalPointSize()获取 USUpperOpticalPointSize 值。
getUSWeightClass()指示字体中字符的视觉粗细(黑度或笔画粗细的程度)。
getUSWidthClass()指示相对于正常宽高比(宽度与高度的比例)的相对变化,该比例由字体设计师为字体中的字形指定。
getUSWinAscent()获取 USWinAscent 值。
getUSWinDescent()获取 USWinDescent 值。
getVersion()获取 Version 值。
getXAvgCharWidth()获取 Average Character Width 参数。
getYStrikeoutPosition()获取 YStrikeoutPosition 值。
getYStrikeoutSize()获取 YStrikeoutSize 值。
getYSubscriptXOffset()获取 YSubscriptXOffset 值。
getYSubscriptXSize()获取 YSubscriptXSize 值。
getYSubscriptYOffset()获取 YSubscriptYOffset 值。
getYSubscriptYSize()获取 YSubscriptYSize 值。
getYSuperscriptXOffset()获取 YSuperscriptXOffset 值。
getYSuperscriptXSize()获取 YSuperscriptXSize 值。
getYSuperscriptYOffset()获取 YSuperscriptYOffset 值。
getYSuperscriptYSize()获取 YSuperscriptYSize 值。
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.lang.Object

Returns: boolean

getAchVendId()

public byte[] getAchVendId()

获取 AchVendId 值。

Returns: byte[] - AchVendId 值。

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFSSelection()

public int getFSSelection()

包含有关字体模式性质的信息。

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 - 信息。

getFSType()

public int getFSType()

获取 FSType 值。


指示 Font 的嵌入许可权。

Returns: int - FSType 值。

getLicenseFlags()

public LicenseFlags getLicenseFlags()

获取对象表示中的嵌入标志(fsType)。

Returns: LicenseFlags - Embedded flags.

getOffset()

public long getOffset()

获取自 sfnt 开始的偏移量。

Returns: long - 自 sfnt 开始的偏移量。

getPanose()

public byte[] getPanose()

这串 10 字节的数字用于描述给定字体的视觉特征。这些特征随后用于将该字体与外观相似但名称不同的其他字体关联。

Returns: byte[] - 给定字体的视觉特征。

getSCapHeight()

public short getSCapHeight()

获取 SCapHeight 值。

Returns: short - SCapHeight 值。

getSFamilyClass()

public short getSFamilyClass()

此参数是字体系列设计的分类。字体类和字体子类是 IBM 为每个字体系列分配的注册值。此参数旨在在请求的字体不可用时用于选择替代字体。

Returns: short - 字体系列设计的分类。

getSTypoAscender()

public short getSTypoAscender()

获取 STypoAscender 值。

Returns: short - STypoAscender 值。

getSTypoDescender()

public short getSTypoDescender()

获取 STypoDescender 值。

Returns: short - STypoDescender 值。

getSTypoLineGap()

public short getSTypoLineGap()

获取 STypoLineGap 值。

Returns: short - STypoLineGap 值。

getSXHeight()

public short getSXHeight()

获取 SXHeight 值。

Returns: short - SXHeight 值。

getSupportedTableVersions()

public int[] getSupportedTableVersions()

获取 OS/2 表的受支持版本。

Returns: int[] - OS/2 表的受支持版本。

getTag()

public static String getTag()

获取表标签。

Returns: java.lang.String - 表标签。

getTtfTables()

public TtfTableRepository getTtfTables()

指向 TTF 表仓库的引用。

Returns: TtfTableRepository - Reference to TTF table repository.

getULCodePageRange()

public long[] getULCodePageRange()

获取 ULCodePageRange 值。

Returns: long[] - ULCodePageRange 值。

getULUnicodeRange()

public long[] getULUnicodeRange()

获取 ULUnicodeRange 值。

Returns: long[] - ULUnicodeRange 值。

getUSBreakChar()

public int getUSBreakChar()

获取 USBreakChar 值。

Returns: int - USBreakChar 值。

getUSDefaultChar()

public int getUSDefaultChar()

获取 USDefaultChar 值。

Returns: int - USDefaultChar 值。

getUSFirstCharIndex()

public int getUSFirstCharIndex()

获取 USFirstCharIndex 值。

Returns: int - USFirstCharIndex 值。

getUSLastCharIndex()

public int getUSLastCharIndex()

获取 USLastCharIndex 值。

Returns: int - USLastCharIndex 值。

getUSLowerOpticalPointSize()

public int getUSLowerOpticalPointSize()

获取 USLowerOpticalPointSize 值。

Returns: int - USLowerOpticalPointSize 值。

getUSMaxContext()

public int getUSMaxContext()

获取 USMaxContext 值。

Returns: int - UsMaxContext 值。

getUSUpperOpticalPointSize()

public int getUSUpperOpticalPointSize()

获取 USUpperOpticalPointSize 值。

Returns: int - USUpperOpticalPointSize 值。

getUSWeightClass()

public int getUSWeightClass()

指示字体中字符的视觉粗细(黑度或笔画粗细的程度)。

Returns: int - 字体中字符的视觉粗细(黑度或笔画厚度的程度)。

getUSWidthClass()

public int getUSWidthClass()

指示相对于正常宽高比(宽度与高度的比例)的相对变化,该比例由字体设计师为字体中的字形指定。

Returns: int - 字体设计师为字体中的字形指定的相对于正常宽高比(宽度与高度比例)的相对变化。

getUSWinAscent()

public int getUSWinAscent()

获取 USWinAscent 值。

Returns: int - USWinAscent 值。

getUSWinDescent()

public int getUSWinDescent()

获取 USWinDescent 值。

Returns: int - USWinDescent 值。

getVersion()

public int getVersion()

获取 Version 值。

Returns: int - 版本 值。

getXAvgCharWidth()

public short getXAvgCharWidth()

获取 Average Character Width 参数。

Returns: short - 平均字符宽度 参数。

getYStrikeoutPosition()

public short getYStrikeoutPosition()

获取 YStrikeoutPosition 值。

Returns: short - YStrikeoutPosition 值。

getYStrikeoutSize()

public short getYStrikeoutSize()

获取 YStrikeoutSize 值。

Returns: short - YStrikeoutSize 值。

getYSubscriptXOffset()

public short getYSubscriptXOffset()

获取 YSubscriptXOffset 值。

Returns: short - YSubscriptXOffset 值。

getYSubscriptXSize()

public short getYSubscriptXSize()

获取 YSubscriptXSize 值。

Returns: short - YSubscriptXSize 值。

getYSubscriptYOffset()

public short getYSubscriptYOffset()

获取 YSubscriptYOffset 值。

Returns: short - YSubscriptYOffset 值。

getYSubscriptYSize()

public short getYSubscriptYSize()

获取 YSubscriptYSize 值。

Returns: short - YSubscriptYSize 值。

getYSuperscriptXOffset()

public short getYSuperscriptXOffset()

获取 YSuperscriptXOffset 值。

Returns: short - YSuperscriptXOffset 值。

getYSuperscriptXSize()

public short getYSuperscriptXSize()

获取 YSuperscriptXSize 值。

Returns: short - YSuperscriptXSize 值。

getYSuperscriptYOffset()

public short getYSuperscriptYOffset()

获取 YSuperscriptYOffset 值。

Returns: short - YSuperscriptYOffset 值。

getYSuperscriptYSize()

public short getYSuperscriptYSize()

获取 YSuperscriptYSize 值。

Returns: short - YSuperscriptYSize 值。

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:

参数类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

参数类型描述
arg0long
arg1int