FreeHEP API
Version current

org.freehep.graphicsio.font.truetype
Class TTFHeadTable

java.lang.Object
  extended byorg.freehep.graphicsio.font.truetype.TTFTable
      extended byorg.freehep.graphicsio.font.truetype.TTFVersionTable
          extended byorg.freehep.graphicsio.font.truetype.TTFHeadTable

public class TTFHeadTable
extends TTFVersionTable

HEAD Table.

Version:
$Id: TTFHeadTable.java,v 1.1 2001/11/29 01:45:29 duns Exp $
Author:
Simon Fischer
Source Code:
TTFHeadTable.java

Field Summary
 boolean baseline0
           
 long checkSumAdjustment
           
 byte[] created
           
static int FDH_LEFT_TO_RIGHT
           
static int FDH_LEFT_TO_RIGHT_NEUTRAL
           
static int FDH_MIXED
           
static int FDH_RIGHT_TO_LEFT
           
static int FDH_RIGHT_TO_LEFT_NEUTRAL
           
 short fontDirectionHint
           
 int fontRevisionMajor
           
 int fontRevisionMinor
           
 boolean forcePPEM2Int
           
 short glyphDataFormat
           
 short indexToLocFormat
           
 boolean instrAlterAdvance
           
 boolean instrDependOnSize
           
static int ITLF_LONG
           
static int ITLF_SHORT
           
 int lowestRecPPEM
           
 boolean macBold
           
 boolean macItalic
           
 long magicNumber
           
 byte[] modified
           
 boolean sidebearing0
           
 int unitsPerEm
           
 short xMax
           
 short xMin
           
 short yMax
           
 short yMin
           
 
Fields inherited from class org.freehep.graphicsio.font.truetype.TTFVersionTable
majorVersion, minorVersion
 
Fields inherited from class org.freehep.graphicsio.font.truetype.TTFTable
TABLE_CLASSES, TT_TAGS
 
Constructor Summary
TTFHeadTable()
           
 
Method Summary
 Rectangle getMaxCharBounds()
           
 String getTag()
           
 void readTable()
           
 String toString()
           
 
Methods inherited from class org.freehep.graphicsio.font.truetype.TTFVersionTable
readVersion
 
Methods inherited from class org.freehep.graphicsio.font.truetype.TTFTable
getTable, init, isRead, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FDH_MIXED

public static final int FDH_MIXED
See Also:
Constant Field Values

FDH_LEFT_TO_RIGHT

public static final int FDH_LEFT_TO_RIGHT
See Also:
Constant Field Values

FDH_LEFT_TO_RIGHT_NEUTRAL

public static final int FDH_LEFT_TO_RIGHT_NEUTRAL
See Also:
Constant Field Values

FDH_RIGHT_TO_LEFT

public static final int FDH_RIGHT_TO_LEFT
See Also:
Constant Field Values

FDH_RIGHT_TO_LEFT_NEUTRAL

public static final int FDH_RIGHT_TO_LEFT_NEUTRAL
See Also:
Constant Field Values

ITLF_SHORT

public static final int ITLF_SHORT
See Also:
Constant Field Values

ITLF_LONG

public static final int ITLF_LONG
See Also:
Constant Field Values

fontRevisionMinor

public int fontRevisionMinor

fontRevisionMajor

public int fontRevisionMajor

checkSumAdjustment

public long checkSumAdjustment

magicNumber

public long magicNumber

baseline0

public boolean baseline0

sidebearing0

public boolean sidebearing0

instrDependOnSize

public boolean instrDependOnSize

forcePPEM2Int

public boolean forcePPEM2Int

instrAlterAdvance

public boolean instrAlterAdvance

unitsPerEm

public int unitsPerEm

created

public byte[] created

modified

public byte[] modified

xMin

public short xMin

yMin

public short yMin

xMax

public short xMax

yMax

public short yMax

macBold

public boolean macBold

macItalic

public boolean macItalic

lowestRecPPEM

public int lowestRecPPEM

fontDirectionHint

public short fontDirectionHint

indexToLocFormat

public short indexToLocFormat

glyphDataFormat

public short glyphDataFormat
Constructor Detail

TTFHeadTable

public TTFHeadTable()
Method Detail

getTag

public String getTag()
Specified by:
getTag in class TTFTable

readTable

public void readTable()
               throws IOException
Specified by:
readTable in class TTFTable
Throws:
IOException

toString

public String toString()
Overrides:
toString in class TTFVersionTable

getMaxCharBounds

public Rectangle getMaxCharBounds()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.