org.pentaho.reporting.libraries.fonts.truetype
Class FontHeaderTable

java.lang.Object
  extended by org.pentaho.reporting.libraries.fonts.truetype.FontHeaderTable
All Implemented Interfaces:
FontTable

public class FontHeaderTable
extends java.lang.Object
implements FontTable

Creation-Date: 06.11.2005, 20:24:42

Author:
Thomas Morgner

Field Summary
static int FEATURE_BASELINE
           
static int FEATURE_CLEARTYPE
           
static int FEATURE_COMPRESSED
           
static int FEATURE_EXPLICIT_POINTSIZE
           
static int FEATURE_INDIC_REARRANGE
           
static int FEATURE_INTEGER_SCALING
           
static int FEATURE_LAYOUT_REQUIRED
           
static int FEATURE_LSB
           
static int FEATURE_METAMORPH
           
static int FEATURE_NONLINEAR_WIDTH
           
static int FEATURE_RTL_GLYPHS
           
static int FEATURE_VERTICAL
           
static int STYLE_BOLD
           
static int STYLE_CONDENSED
           
static int STYLE_EXTENDED
           
static int STYLE_ITALIC
           
static int STYLE_OUTLINE
           
static int STYLE_SHADOW
           
static int STYLE_UNDERLINE
           
static long TABLE_ID
           
 
Constructor Summary
FontHeaderTable(byte[] data)
           
 
Method Summary
 long getCheckSumAdjustment()
           
 long getCreatedDate()
           
 int getFlags()
           
 short getFontDirectionHint()
           
 short getGlyphDataFormat()
           
 short getIndexToLocFormat()
           
 int getLowestRecPPEM()
           
 int getMacStyle()
           
 long getModifiedDate()
           
 long getName()
           
 long getRevision()
           
 int getUnitsPerEm()
           
 long getVersion()
           
 int getxMax()
           
 int getxMin()
           
 int getyMax()
           
 int getyMin()
           
 boolean isBold()
           
 boolean isItalic()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_ID

public static final long TABLE_ID
See Also:
Constant Field Values

STYLE_BOLD

public static final int STYLE_BOLD
See Also:
Constant Field Values

STYLE_ITALIC

public static final int STYLE_ITALIC
See Also:
Constant Field Values

STYLE_UNDERLINE

public static final int STYLE_UNDERLINE
See Also:
Constant Field Values

STYLE_OUTLINE

public static final int STYLE_OUTLINE
See Also:
Constant Field Values

STYLE_SHADOW

public static final int STYLE_SHADOW
See Also:
Constant Field Values

STYLE_CONDENSED

public static final int STYLE_CONDENSED
See Also:
Constant Field Values

STYLE_EXTENDED

public static final int STYLE_EXTENDED
See Also:
Constant Field Values

FEATURE_BASELINE

public static final int FEATURE_BASELINE
See Also:
Constant Field Values

FEATURE_LSB

public static final int FEATURE_LSB
See Also:
Constant Field Values

FEATURE_EXPLICIT_POINTSIZE

public static final int FEATURE_EXPLICIT_POINTSIZE
See Also:
Constant Field Values

FEATURE_INTEGER_SCALING

public static final int FEATURE_INTEGER_SCALING
See Also:
Constant Field Values

FEATURE_NONLINEAR_WIDTH

public static final int FEATURE_NONLINEAR_WIDTH
See Also:
Constant Field Values

FEATURE_VERTICAL

public static final int FEATURE_VERTICAL
See Also:
Constant Field Values

FEATURE_LAYOUT_REQUIRED

public static final int FEATURE_LAYOUT_REQUIRED
See Also:
Constant Field Values

FEATURE_METAMORPH

public static final int FEATURE_METAMORPH
See Also:
Constant Field Values

FEATURE_RTL_GLYPHS

public static final int FEATURE_RTL_GLYPHS
See Also:
Constant Field Values

FEATURE_INDIC_REARRANGE

public static final int FEATURE_INDIC_REARRANGE
See Also:
Constant Field Values

FEATURE_COMPRESSED

public static final int FEATURE_COMPRESSED
See Also:
Constant Field Values

FEATURE_CLEARTYPE

public static final int FEATURE_CLEARTYPE
See Also:
Constant Field Values
Constructor Detail

FontHeaderTable

public FontHeaderTable(byte[] data)
                throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getVersion

public long getVersion()

getRevision

public long getRevision()

getCheckSumAdjustment

public long getCheckSumAdjustment()

getFlags

public int getFlags()

getUnitsPerEm

public int getUnitsPerEm()

getCreatedDate

public long getCreatedDate()

getModifiedDate

public long getModifiedDate()

getxMin

public int getxMin()

getyMin

public int getyMin()

getxMax

public int getxMax()

getyMax

public int getyMax()

getMacStyle

public int getMacStyle()

getLowestRecPPEM

public int getLowestRecPPEM()

getFontDirectionHint

public short getFontDirectionHint()

getIndexToLocFormat

public short getIndexToLocFormat()

getGlyphDataFormat

public short getGlyphDataFormat()

isBold

public boolean isBold()

isItalic

public boolean isItalic()

getName

public long getName()
Specified by:
getName in interface FontTable