org.pentaho.reporting.libraries.fonts.truetype
Class TrueTypeFont
java.lang.Object
org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont
public class TrueTypeFont
- extends java.lang.Object
Creation-Date: 06.11.2005, 18:27:21
- Author:
- Thomas Morgner
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrueTypeFont
public TrueTypeFont(FontDataInputSource filename)
throws java.io.IOException
- Throws:
java.io.IOException
TrueTypeFont
public TrueTypeFont(FontDataInputSource filename,
long offset)
throws java.io.IOException
- Throws:
java.io.IOException
TrueTypeFont
public TrueTypeFont(FontDataInputSource filename,
long offset,
int collectionIndex)
throws java.io.IOException
- Throws:
java.io.IOException
TrueTypeFont
public TrueTypeFont(java.io.File filename)
throws java.io.IOException
- Throws:
java.io.IOException
TrueTypeFont
public TrueTypeFont(java.io.File filename,
long offset)
throws java.io.IOException
- Throws:
java.io.IOException
TrueTypeFont
public TrueTypeFont(java.io.File filename,
long offset,
int collectionIndex)
throws java.io.IOException
- Throws:
java.io.IOException
getCollectionIndex
public int getCollectionIndex()
readFully
protected byte[] readFully(long offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
getOffset
public long getOffset()
getFilename
public java.lang.String getFilename()
- The file that was used to load the font. This is deprecated, as only the
transition version of JFreeReport is using this hack.
- Returns:
getTable
public FontTable getTable(long key)
throws java.io.IOException
- Throws:
java.io.IOException
readTable
protected FontTable readTable(org.pentaho.reporting.libraries.fonts.truetype.TrueTypeFont.TableDirectoryEntry table)
throws java.io.IOException
- Throws:
java.io.IOException
dispose
public void dispose()
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable
getInputSource
public FontDataInputSource getInputSource()