public class TrueTypeFont
extends java.lang.Object
Constructor and Description |
---|
TrueTypeFont(java.io.File filename) |
TrueTypeFont(java.io.File filename,
long offset) |
TrueTypeFont(java.io.File filename,
long offset,
int collectionIndex) |
TrueTypeFont(FontDataInputSource filename) |
TrueTypeFont(FontDataInputSource filename,
long offset) |
TrueTypeFont(FontDataInputSource filename,
long offset,
int collectionIndex) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
int |
getCollectionIndex() |
java.lang.String |
getFilename()
The file that was used to load the font.
|
FontDataInputSource |
getInputSource() |
long |
getOffset() |
FontTable |
getTable(long key) |
public TrueTypeFont(FontDataInputSource filename) throws java.io.IOException
java.io.IOException
public TrueTypeFont(FontDataInputSource filename, long offset) throws java.io.IOException
java.io.IOException
public TrueTypeFont(FontDataInputSource filename, long offset, int collectionIndex) throws java.io.IOException
java.io.IOException
public TrueTypeFont(java.io.File filename) throws java.io.IOException
java.io.IOException
public TrueTypeFont(java.io.File filename, long offset) throws java.io.IOException
java.io.IOException
public TrueTypeFont(java.io.File filename, long offset, int collectionIndex) throws java.io.IOException
java.io.IOException
public int getCollectionIndex()
public long getOffset()
public java.lang.String getFilename()
public FontTable getTable(long key) throws java.io.IOException
java.io.IOException
public void dispose()
public FontDataInputSource getInputSource()