org.pentaho.reporting.libraries.fonts.truetype
Class TrueTypeCollection
java.lang.Object
org.pentaho.reporting.libraries.fonts.truetype.TrueTypeCollection
public class TrueTypeCollection
- extends java.lang.Object
Reads a TrueTypeCollection file and instantiates the fonts contained in that
file.
- Author:
- Thomas Morgner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAGIC_NUMBER
public static final long MAGIC_NUMBER
- See Also:
- Constant Field Values
TrueTypeCollection
public TrueTypeCollection(java.io.File filename)
throws java.io.IOException
- Throws:
java.io.IOException
getFilename
public java.io.File getFilename()
getNumFonts
public long getNumFonts()
getFont
public TrueTypeFont getFont(int index)
throws java.io.IOException
- Throws:
java.io.IOException