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

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

public class TrueTypeCollection
extends Object

Reads a TrueTypeCollection file and instantiates the fonts contained in that file.

Author:
Thomas Morgner

Field Summary
static long MAGIC_NUMBER
           
 
Constructor Summary
TrueTypeCollection(File filename)
           
 
Method Summary
 File getFilename()
           
 TrueTypeFont getFont(int index)
           
 long getNumFonts()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAGIC_NUMBER

public static final long MAGIC_NUMBER
See Also:
Constant Field Values
Constructor Detail

TrueTypeCollection

public TrueTypeCollection(File filename)
                   throws IOException
Throws:
IOException
Method Detail

getFilename

public File getFilename()

getNumFonts

public long getNumFonts()

getFont

public TrueTypeFont getFont(int index)
                     throws IOException
Throws:
IOException