所有类


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 intTAG_ACNT
          重音符附件。
static intTAG_AVAR
          轴变体。
static intTAG_BASE
          基线数据。
static intTAG_BDAT
          位图数据。
static intTAG_BLOC
          位图位置。
static intTAG_BSLN
          基线表。
static intTAG_CFF
          紧凑字体格式(Type1 字体)。
static intTAG_CMAP
          字形映射的字符。
static intTAG_CVAR
          CVT 变体。
static intTAG_CVT
          控制值表。
static intTAG_DSIG
          数字签名。
static intTAG_EBDT
          内嵌位图数据。
static intTAG_EBLC
          内嵌位图位置。
static intTAG_EBSC
          内嵌位图缩放。
static intTAG_FDSC
          字体描述符。
static intTAG_FEAT
          特性名称。
static intTAG_FMTX
          字体规格。
static intTAG_FPGM
          字体程序。
static intTAG_FVAR
          字体变体。
static intTAG_GASP
          网格适应和扫描转换过程。
static intTAG_GDEF
          字形定义。
static intTAG_GLYF
          字形数据。
static intTAG_GPOS
          字形定位。
static intTAG_GSUB
          字形替换。
static intTAG_GVAR
          字形变体。
static intTAG_HDMX
          水平设备规格。
static intTAG_HEAD
          字体头部。
static intTAG_HHEA
          水平规格头部。
static intTAG_HMTX
          水平规格。
static intTAG_JSTF
          调整。
static intTAG_JUST
          调整。
static intTAG_KERN
          字距调整。
static intTAG_LCAR
          连字插入符。
static intTAG_LOCA
          位置索引。
static intTAG_LTSH
          线性阈值。
static intTAG_MAXP
          最大轮廓。
static intTAG_MMFX
          Multiple Master 字体规格。
static intTAG_MMSD
          Multiple master 增补数据。
static intTAG_MORT
          字形变化。
static intTAG_NAME
          命名表。
static intTAG_OPBD
          视觉边界。
static intTAG_OS2
          OS/2 和 Windows 特定规格。
static intTAG_PCLT
          PCL 5 数据。
static intTAG_POST
          PostScript 信息。
static intTAG_PREP
          CVT 预编程。
static intTAG_PROP
          字形属性。
static intTAG_TRAK
          跟踪。
static intTAG_TYP1
          Adobe Type 1 字体数据。
static intTAG_VDMX
          垂直设备规格。
static intTAG_VHEA
          垂直规格头部。
static intTAG_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)
          返回作为指定标签字节数组的表的子集。
 intgetFontTableSize(int sfntTag)
          返回指定标签的表的大小。
 intgetFontTableSize(String strSfntTag)
          返回指定标签的表的大小。
 intgetVersion()
          返回 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"。

另请参见:
常量字段值