Class TrueTypeCollection
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description static long
MAGIC_NUMBER
-
Constructor Summary
Constructors Constructor Description TrueTypeCollection(File filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
getFilename()
TrueTypeFont
getFont(int index)
long
getNumFonts()
-
-
-
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
-
-