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

java.lang.Object
  extended by org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont

public class TrueTypeFont
extends java.lang.Object

Creation-Date: 06.11.2005, 18:27:21

Author:
Thomas Morgner

Constructor Summary
TrueTypeFont(java.io.File filename)
           
TrueTypeFont(java.io.File filename, long offset)
           
TrueTypeFont(java.io.File filename, long offset, int collectionIndex)
           
TrueTypeFont(FontDataInputSource filename)
           
TrueTypeFont(FontDataInputSource filename, long offset)
           
TrueTypeFont(FontDataInputSource filename, long offset, int collectionIndex)
           
 
Method Summary
 void dispose()
           
 int getCollectionIndex()
           
 java.lang.String getFilename()
          The file that was used to load the font.
 FontDataInputSource getInputSource()
           
 long getOffset()
           
 FontTable getTable(long key)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrueTypeFont

public TrueTypeFont(FontDataInputSource filename)
             throws java.io.IOException
Throws:
java.io.IOException

TrueTypeFont

public TrueTypeFont(FontDataInputSource filename,
                    long offset)
             throws java.io.IOException
Throws:
java.io.IOException

TrueTypeFont

public TrueTypeFont(FontDataInputSource filename,
                    long offset,
                    int collectionIndex)
             throws java.io.IOException
Throws:
java.io.IOException

TrueTypeFont

public TrueTypeFont(java.io.File filename)
             throws java.io.IOException
Throws:
java.io.IOException

TrueTypeFont

public TrueTypeFont(java.io.File filename,
                    long offset)
             throws java.io.IOException
Throws:
java.io.IOException

TrueTypeFont

public TrueTypeFont(java.io.File filename,
                    long offset,
                    int collectionIndex)
             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getCollectionIndex

public int getCollectionIndex()

getOffset

public long getOffset()

getFilename

public java.lang.String getFilename()
The file that was used to load the font. This is deprecated, as only the transition version of JFreeReport is using this hack.

Returns:

getTable

public FontTable getTable(long key)
                   throws java.io.IOException
Throws:
java.io.IOException

dispose

public void dispose()

getInputSource

public FontDataInputSource getInputSource()