| |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.awt.font
接口 OpenType
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_CVAR CVT 变体。 |
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_MMFX Multiple Master 字体规格。 |
static int | TAG_MMSD Multiple master 增补数据。 |
static int | TAG_MORT 字形变化。 |
static int | TAG_NAME 命名表。 |
static int | TAG_OPBD 视觉边界。 |
static int | TAG_OS2 OS/2 和 Windows 特定规格。 |
static int | TAG_PCLT PCL 5 数据。 |
static int | TAG_POST PostScript 信息。 |
static int | TAG_PREP CVT 预编程。 |
static int | TAG_PROP 字形属性。 |
static int | TAG_TRAK 跟踪。 |
static int | TAG_TYP1 Adobe 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 字体的版本。 |
字段详细信息 |
---|
TAG_CMAP
static final int TAG_CMAP
- 字形映射的字符。Open Type Specification 中的表标签 "cmap"。
- 另请参见:
- 常量字段值
TAG_HEAD
static final int TAG_HEAD
- 字体头部。Open Type Specification 中的表标签 "head"。
- 另请参见:
- 常量字段值
TAG_NAME
static final int TAG_NAME
- 命名表。Open Type Specification 中的表标签 "name"。
- 另请参见:
- 常量字段值
TAG_GLYF
static final int TAG_GLYF
- 字形数据。Open Type Specification 中的表标签 "glyf"。
- 另请参见:
- 常量字段值
TAG_MAXP
static final int TAG_MAXP
- 最大轮廓。Open Type Specification 中的表标签 "maxp"。
- 另请参见:
- 常量字段值
TAG_PREP
static final int TAG_PREP
- CVT 预编程。Open Type Specification 中的表标签 "prep"。
- 另请参见:
- 常量字段值
TAG_HMTX
static final int TAG_HMTX
- 水平规格。Open Type Specification 中的表标签 "hmtx"。
- 另请参见:
- 常量字段值