Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Interface java.awt.font.OpenType


public interface OpenType
This interface represents OpenType and TrueType fonts. The goal for this interface is to be able to return sfnt tables from the font. A particular Font object may implement this interface.


Field Summary
static int  TAG_ACNT
Accent attachment.
static int  TAG_AVAR
Axis variaiton.
static int  TAG_BASE
Baseline data.
static int  TAG_BDAT
Bitmap data.
static int  TAG_BLOC
Bitmap location.
static int  TAG_BSLN
Baselint table.
static int  TAG_CFF
Compact font format (Type1 font).
static int  TAG_CMAP
Character to glyph mapping.
static int  TAG_CVAR
CVT variation.
static int  TAG_CVT
Control value table.
static int  TAG_DSIG
Digital signature.
static int  TAG_EBDT
Embedded bitmap data.
static int  TAG_EBLC
Embedded bitmap location.
static int  TAG_EBSC
Embedded bitmap scaling.
static int  TAG_FDSC
Font descriptors.
static int  TAG_FEAT
Feature name.
static int  TAG_FMTX
Font metrics.
static int  TAG_FPGM
Font program.
static int  TAG_FVAR
Font variation.
static int  TAG_GASP
Grid_fitting and scan conversion procedure.
static int  TAG_GDEF
Glyph definition.
static int  TAG_GLYF
Glyph data.
static int  TAG_GPOS
Glyph positioning.
static int  TAG_GSUB
Glyph substitution.
static int  TAG_GVAR
Glyph variation.
static int  TAG_HDMX
Horizontal device metrics.
static int  TAG_HEAD
Font header.
static int  TAG_HHEA
Horizontal metrics header.
static int  TAG_HMTX
Horizontal metrics.
static int  TAG_JSTF
Justification.
static int  TAG_JUST
Justification.
static int  TAG_KERN
Kerning.
static int  TAG_LCAR
Ligature caret.
static int  TAG_LOCA
Index to location.
static int  TAG_LTSH
Linear threshold.
static int  TAG_MAXP
Maximum profile.
static int  TAG_MMFX
Multiple master font metrics.
static int  TAG_MMSD
Multiple master supplementary data.
static int  TAG_MORT
Glyph metamorphosis.
static int  TAG_NAME
Naming table.
static int  TAG_OPBD
Optical bounds.
static int  TAG_OS2
OS/2 and windows specific metrics.
static int  TAG_PCLT
PCL 5 data.
static int  TAG_POST
Postscript Information.
static int  TAG_PREP
CVT preprogram.
static int  TAG_PROP
Glyph properties.
static int  TAG_TRAK
Tracking.
static int  TAG_TYP1
Adobe Type 1 font data.
static int  TAG_VDMX
Vertical device metrics.
static int  TAG_VHEA
Vertical metrics header.
static int  TAG_VMTX
Vertical metrics.
 

Method Summary
byte[]  getFontTable(int sfntTag)
Returns the table as an array of bytes for a given tag.
int  getVersion()
Returns the version of the OpenType font.
 

Field Detail

TAG_CMAP

public static final int TAG_CMAP
Character to glyph mapping.

TAG_HEAD

public static final int TAG_HEAD
Font header.

TAG_NAME

public static final int TAG_NAME
Naming table.

TAG_GLYF

public static final int TAG_GLYF
Glyph data.

TAG_MAXP

public static final int TAG_MAXP
Maximum profile.

TAG_PREP

public static final int TAG_PREP
CVT preprogram.

TAG_HMTX

public static final int TAG_HMTX
Horizontal metrics.

TAG_KERN

public static final int TAG_KERN
Kerning.

TAG_HDMX

public static final int TAG_HDMX
Horizontal device metrics.

TAG_LOCA

public static final int TAG_LOCA
Index to location.

TAG_POST

public static final int TAG_POST
Postscript Information.

TAG_OS2

public static final int TAG_OS2
OS/2 and windows specific metrics.

TAG_CVT

public static final int TAG_CVT
Control value table.

TAG_GASP

public static final int TAG_GASP
Grid_fitting and scan conversion procedure.

TAG_VDMX

public static final int TAG_VDMX
Vertical device metrics.

TAG_VMTX

public static final int TAG_VMTX
Vertical metrics.

TAG_VHEA

public static final int TAG_VHEA
Vertical metrics header.

TAG_HHEA

public static final int TAG_HHEA
Horizontal metrics header.

TAG_TYP1

public static final int TAG_TYP1
Adobe Type 1 font data.

TAG_BSLN

public static final int TAG_BSLN
Baselint table.

TAG_GSUB

public static final int TAG_GSUB
Glyph substitution.

TAG_DSIG

public static final int TAG_DSIG
Digital signature.

TAG_FPGM

public static final int TAG_FPGM
Font program.

TAG_FVAR

public static final int TAG_FVAR
Font variation.

TAG_GVAR

public static final int TAG_GVAR
Glyph variation.

TAG_CFF

public static final int TAG_CFF
Compact font format (Type1 font).

TAG_MMSD

public static final int TAG_MMSD
Multiple master supplementary data.

TAG_MMFX

public static final int TAG_MMFX
Multiple master font metrics.

TAG_BASE

public static final int TAG_BASE
Baseline data.

TAG_GDEF

public static final int TAG_GDEF
Glyph definition.

TAG_GPOS

public static final int TAG_GPOS
Glyph positioning.

TAG_JSTF

public static final int TAG_JSTF
Justification.

TAG_EBDT

public static final int TAG_EBDT
Embedded bitmap data.

TAG_EBLC

public static final int TAG_EBLC
Embedded bitmap location.

TAG_EBSC

public static final int TAG_EBSC
Embedded bitmap scaling.

TAG_LTSH

public static final int TAG_LTSH
Linear threshold.

TAG_PCLT

public static final int TAG_PCLT
PCL 5 data.

TAG_ACNT

public static final int TAG_ACNT
Accent attachment.

TAG_AVAR

public static final int TAG_AVAR
Axis variaiton.

TAG_BDAT

public static final int TAG_BDAT
Bitmap data.

TAG_BLOC

public static final int TAG_BLOC
Bitmap location.

TAG_CVAR

public static final int TAG_CVAR
CVT variation.

TAG_FEAT

public static final int TAG_FEAT
Feature name.

TAG_FDSC

public static final int TAG_FDSC
Font descriptors.

TAG_FMTX

public static final int TAG_FMTX
Font metrics.

TAG_JUST

public static final int TAG_JUST
Justification.

TAG_LCAR

public static final int TAG_LCAR
Ligature caret.

TAG_MORT

public static final int TAG_MORT
Glyph metamorphosis.

TAG_OPBD

public static final int TAG_OPBD
Optical bounds.

TAG_PROP

public static final int TAG_PROP
Glyph properties.

TAG_TRAK

public static final int TAG_TRAK
Tracking.
Method Detail

getVersion

public int getVersion()
Returns the version of the OpenType font. 1.0 is represented as 0x00010000.

getFontTable

public byte[] getFontTable(int sfntTag)
Returns the table as an array of bytes for a given tag. Tags for sfnt tables include items like cmap, name and head. The byte array returned is a copy of the font data in memory.

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.