| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface OpenType
OpenType 接口表示 OpenType 和 TrueType 字体。此接口能够从该字体获得 sfnt 表。特定的 Font 对象可以实现此接口。
 
有关 TrueType 字体的更多信息,请参阅 Apple TrueType Reference Manual ( http://fonts.apple.com/TTRefMan/index.html )。
| 字段摘要 | |
|---|---|
| static int | TAG_ACNT重音符附件。 | 
| static int | TAG_AVAR轴变体。 | 
| static int | TAG_BASE基线数据。 | 
| static int | TAG_BDAT位图数据。 | 
| static int | TAG_BLOC位图位置。 | 
| static int | TAG_BSLN基线表。 | 
| static int | TAG_CFF紧凑字体格式(Type1 字体)。 | 
| static int | TAG_CMAP字形映射的字符。 | 
| static int | TAG_CVARCVT 变体。 | 
| static int | TAG_CVT控制值表。 | 
| static int | TAG_DSIG数字签名。 | 
| static int | TAG_EBDT内嵌位图数据。 | 
| static int | TAG_EBLC内嵌位图位置。 | 
| static int | TAG_EBSC内嵌位图缩放。 | 
| static int | TAG_FDSC字体描述符。 | 
| static int | TAG_FEAT特性名称。 | 
| static int | TAG_FMTX字体规格。 | 
| static int | TAG_FPGM字体程序。 | 
| static int | TAG_FVAR字体变体。 | 
| static int | TAG_GASP网格适应和扫描转换过程。 | 
| static int | TAG_GDEF字形定义。 | 
| static int | TAG_GLYF字形数据。 | 
| static int | TAG_GPOS字形定位。 | 
| static int | TAG_GSUB字形替换。 | 
| static int | TAG_GVAR字形变体。 | 
| static int | TAG_HDMX水平设备规格。 | 
| static int | TAG_HEAD字体头部。 | 
| static int | TAG_HHEA水平规格头部。 | 
| static int | TAG_HMTX水平规格。 | 
| static int | TAG_JSTF调整。 | 
| static int | TAG_JUST调整。 | 
| static int | TAG_KERN字距调整。 | 
| static int | TAG_LCAR连字插入符。 | 
| static int | TAG_LOCA位置索引。 | 
| static int | TAG_LTSH线性阈值。 | 
| static int | TAG_MAXP最大轮廓。 | 
| static int | TAG_MMFXMultiple Master 字体规格。 | 
| static int | TAG_MMSDMultiple master 增补数据。 | 
| static int | TAG_MORT字形变化。 | 
| static int | TAG_NAME命名表。 | 
| static int | TAG_OPBD视觉边界。 | 
| static int | TAG_OS2OS/2 和 Windows 特定规格。 | 
| static int | TAG_PCLTPCL 5 数据。 | 
| static int | TAG_POSTPostScript 信息。 | 
| static int | TAG_PREPCVT 预编程。 | 
| static int | TAG_PROP字形属性。 | 
| static int | TAG_TRAK跟踪。 | 
| static int | TAG_TYP1Adobe Type 1 字体数据。 | 
| static int | TAG_VDMX垂直设备规格。 | 
| static int | TAG_VHEA垂直规格头部。 | 
| static int | TAG_VMTX垂直规格。 | 
| 方法摘要 | |
|---|---|
|  byte[] | getFontTable(int sfntTag)返回作为指定标签字节数组的表。 | 
|  byte[] | getFontTable(int sfntTag,
             int offset,
             int count)返回作为指定标签字节数组的表的子集。 | 
|  byte[] | getFontTable(String strSfntTag)返回作为指定标签字节数组的表。 | 
|  byte[] | getFontTable(String strSfntTag,
             int offset,
             int count)返回作为指定标签字节数组的表的子集。 | 
|  int | getFontTableSize(int sfntTag)返回指定标签的表的大小。 | 
|  int | getFontTableSize(String strSfntTag)返回指定标签的表的大小。 | 
|  int | getVersion()返回 OpenType字体的版本。 | 
| 字段详细信息 | 
|---|
static final int TAG_CMAP
static final int TAG_HEAD
static final int TAG_NAME
static final int TAG_GLYF
static final int TAG_MAXP
static final int TAG_PREP
static final int TAG_HMTX
static final int TAG_KERN
static final int TAG_HDMX
static final int TAG_LOCA
static final int TAG_POST
static final int TAG_OS2
static final int TAG_CVT
static final int TAG_GASP
static final int TAG_VDMX
static final int TAG_VMTX
static final int TAG_VHEA
static final int TAG_HHEA
static final int TAG_TYP1
static final int TAG_BSLN
static final int TAG_GSUB
static final int TAG_DSIG
static final int TAG_FPGM
static final int TAG_FVAR
static final int TAG_GVAR
static final int TAG_CFF
static final int TAG_MMSD
static final int TAG_MMFX
static final int TAG_BASE
static final int TAG_GDEF
static final int TAG_GPOS
static final int TAG_JSTF
static final int TAG_EBDT
static final int TAG_EBLC
static final int TAG_EBSC
static final int TAG_LTSH
static final int TAG_PCLT
static final int TAG_ACNT
static final int TAG_AVAR
static final int TAG_BDAT
static final int TAG_BLOC
static final int TAG_CVAR
static final int TAG_FEAT
static final int TAG_FDSC
static final int TAG_FMTX
static final int TAG_JUST
static final int TAG_LCAR
static final int TAG_MORT
static final int TAG_OPBD
static final int TAG_PROP
static final int TAG_TRAK
| 方法详细信息 | 
|---|
int getVersion()
OpenType 字体的版本。1.0 表示为 0x00010000。
OpenType 字体的版本。byte[] getFontTable(int sfntTag)
byte 数组是内存中字体数据的一个副本。
sfntTag - 作为 32 位整数的四字符代码
byte 数组,该表包含与指定标签对应的字体数据。byte[] getFontTable(String strSfntTag)
strSfntTag - 作为 String 的四字符代码
byte 数组,该表包含与指定标签对应的字体数据。
byte[] getFontTable(int sfntTag,
                    int offset,
                    int count)
sfntTag - 作为 32 位整数的四字符代码offset - 要从表返回的第一个字节的索引count - 要从表返回的字节数
sfntTag,并且包含以下字节:从 offset 字节开始并包括 count 字节。
byte[] getFontTable(String strSfntTag,
                    int offset,
                    int count)
byte 数组是内存中字体数据的一个副本。
strSfntTag - 作为 String 的四字符代码offset - 要从表返回的第一个字节的索引count - 要从表返回的字节数
strSfntTag,并且包含以下字节:从 offset 字节开始并包括 count 字节。int getFontTableSize(int sfntTag)
sfntTag - 作为 32 位整数的四字符代码
int getFontTableSize(String strSfntTag)
strSfntTag - 作为 String 的四字符代码
| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。