phelps.awt.font

Class NFontOpenType

public class NFontOpenType extends NFontTrueType implements Cloneable

OpenType, which can have TrueType or CFF glyphs.

Version: $Revision: 1.4 $ $Date: 2003/12/24 06:20:47 $

Field Summary
static StringFORMAT
static intLAYOUT_KERN
static intLAYOUT_LIGATURE
static intLAYOUT_NONE
static StringSUBFORMAT_CFF
OpenType font with glyphs in CFF format.
static StringSUBFORMAT_TRUETYPE
OpenType font that is a TrueType font with extra tables.
Constructor Summary
NFontOpenType(URL source)
Method Summary
NFontOpenTypederiveFont(float pointsize)
NFontOpenTypederiveFont(AffineTransform at)
NFontSimplederiveFont(int[] widths, int firstch)
voiddrawEstring(Graphics2D g, String estr, float x, float y, int mode)
voiddrawEstring(Graphics2D g, String estr, float x, float y, int mode, int layoutflags)
Draw using OpenType layout tables.
StringgetFormat()
StringgetSubformat()

Field Detail

FORMAT

public static final String FORMAT

LAYOUT_KERN

public static final int LAYOUT_KERN

LAYOUT_LIGATURE

public static final int LAYOUT_LIGATURE

LAYOUT_NONE

public static final int LAYOUT_NONE

SUBFORMAT_CFF

public static final String SUBFORMAT_CFF
OpenType font with glyphs in CFF format.

SUBFORMAT_TRUETYPE

public static final String SUBFORMAT_TRUETYPE
OpenType font that is a TrueType font with extra tables.

Constructor Detail

NFontOpenType

public NFontOpenType(URL source)

Method Detail

deriveFont

public NFontOpenType deriveFont(float pointsize)

deriveFont

public NFontOpenType deriveFont(AffineTransform at)

deriveFont

public NFontSimple deriveFont(int[] widths, int firstch)

drawEstring

public void drawEstring(Graphics2D g, String estr, float x, float y, int mode)

drawEstring

public void drawEstring(Graphics2D g, String estr, float x, float y, int mode, int layoutflags)
Draw using OpenType layout tables.

getFormat

public String getFormat()

getSubformat

public String getSubformat()