org.pentaho.reporting.libraries.fonts.truetype

Class TrueTypeCollection

public class TrueTypeCollection extends Object

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

Author: Thomas Morgner

Field Summary
static longMAGIC_NUMBER
Constructor Summary
TrueTypeCollection(File filename)
Method Summary
FilegetFilename()
TrueTypeFontgetFont(int index)
longgetNumFonts()

Field Detail

MAGIC_NUMBER

public static final long MAGIC_NUMBER

Constructor Detail

TrueTypeCollection

public TrueTypeCollection(File filename)

Method Detail

getFilename

public File getFilename()

getFont

public TrueTypeFont getFont(int index)

getNumFonts

public long getNumFonts()