FileDocCategorySizeDatePackage
OpenType.javaAPI DocAndroid 1.5 API12252Wed May 06 22:41:54 BST 2009java.awt.font

OpenType

public interface OpenType
The OpenType interface provides constants and methods for getting instance data for fonts of type OpenType and TrueType. For more information, see the OpenType specification.
since
Android 1.0

Fields Summary
public static final int
TAG_ACNT
The Constant TAG_ACNT indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_AVAR
The Constant TAG_AVAR indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_BASE
The Constant TAG_BASE indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_BDAT
The Constant TAG_BDAT indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_BLOC
The Constant TAG_BLOC indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_BSLN
The Constant TAG_BSLN indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_CFF
The Constant TAG_CFF indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_CMAP
The Constant TAG_CMAP indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_CVAR
The Constant TAG_CVAR indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_CVT
The Constant TAG_CVT indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_DSIG
The Constant TAG_DSIG indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_EBDT
The Constant TAG_EBDT indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_EBLC
The Constant TAG_EBLC indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_EBSC
The Constant TAG_EBSC indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_FDSC
The Constant TAG_FDSC indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_FEAT
The Constant TAG_FEAT indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_FMTX
The Constant TAG_FMTX indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_FPGM
The Constant TAG_FPGM indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_FVAR
The Constant TAG_FVAR indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_GASP
The Constant TAG_GASP indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_GDEF
The Constant TAG_GDEF indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_GLYF
The Constant TAG_GLYF indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_GPOS
The Constant TAG_GPOS indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_GSUB
The Constant TAG_GSUB indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_GVAR
The Constant TAG_GVAR indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_HDMX
The Constant TAG_HDMX indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_HEAD
The Constant TAG_HEAD indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_HHEA
The Constant TAG_HHEA indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_HMTX
The Constant TAG_HMTX indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_JSTF
The Constant TAG_JSTF indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_JUST
The Constant TAG_JUST indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_KERN
The Constant TAG_KERN indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_LCAR
The Constant TAG_LCAR indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_LOCA
The Constant TAG_LOCA indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_LTSH
The Constant TAG_LTSH indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_MAXP
The Constant TAG_MAXP indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_MMFX
The Constant TAG_MMFX indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_MMSD
The Constant TAG_MMSD indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_MORT
The Constant TAG_MORT indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_NAME
The Constant TAG_NAME indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_OPBD
The Constant TAG_OPBD indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_OS2
The Constant TAG_OS2 indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_PCLT
The Constant TAG_PCLT indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_POST
The Constant TAG_POST indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_PREP
The Constant TAG_PREP indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_PROP
The Constant TAG_PROP indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_TRAK
The Constant TAG_TRAK indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_TYP1
The Constant TAG_TYP1 indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_VDMX
The Constant TAG_VDMX indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_VHEA
The Constant TAG_VHEA indicates corresponding table tag in the Open Type Specification.
public static final int
TAG_VMTX
The Constant TAG_VMTX indicates corresponding table tag in the Open Type Specification.
Constructors Summary
Methods Summary
public byte[]getFontTable(int sfntTag)
Gets the table for a specified tag. Sfnt tables include cmap, name and head items.

param
sfntTag the sfnt tag.
return
a byte array contains the font data corresponding to the specified tag.

public byte[]getFontTable(int sfntTag, int offset, int count)
Gets the table for a specified tag. Sfnt tables include cmap, name and head items.

param
sfntTag the sfnt tag.
param
offset the offset of the returned table.
param
count the number of returned table.
return
the table corresponding to sfntTag and containing the bytes starting at offset byte and including count bytes.

public byte[]getFontTable(java.lang.String strSfntTag)
Gets the table for a specified tag. Sfnt tables include cmap, name and head items.

param
strSfntTag the str sfnt tag as a String.
return
a byte array contains the font data corresponding to the specified tag.

public byte[]getFontTable(java.lang.String strSfntTag, int offset, int count)
Gets the table for a specified tag. Sfnt tables include cmap, name and head items.

param
strSfntTag the sfnt tag as a String.
param
offset the offset of the returned table.
param
count the number of returned table.
return
the table corresponding to sfntTag and containing the bytes starting at offset byte and including count bytes.

public intgetFontTableSize(java.lang.String strSfntTag)
Gets the table size for a specified tag.

param
strSfntTag the sfnt tag as a String.
return
the table size for a specified tag.

public intgetFontTableSize(int sfntTag)
Gets the table size for a specified tag.

param
sfntTag the sfnt tag.
return
the table size for a specified tag.

public intgetVersion()
Returns the OpenType font version.

return
the the OpenType font version.