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
-
-
Field Summary
Fields Modifier and Type Field Description static long
MAGIC_NUMBER
-
Constructor Summary
Constructors Constructor Description TrueTypeCollection(java.io.File filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getFilename()
TrueTypeFont
getFont(int index)
long
getNumFonts()
-
-
-
Field Detail
-
MAGIC_NUMBER
public static final long MAGIC_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFilename
public java.io.File getFilename()
-
getNumFonts
public long getNumFonts()
-
getFont
public TrueTypeFont getFont(int index) throws java.io.IOException
- Throws:
java.io.IOException
-
-