public class TrueTypeFont extends Object
Constructor and Description |
---|
TrueTypeFont(File filename) |
TrueTypeFont(File filename,
long offset) |
TrueTypeFont(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() |
String |
getFilename()
The file that was used to load the font.
|
FontDataInputSource |
getInputSource() |
long |
getOffset() |
FontTable |
getTable(long key) |
public TrueTypeFont(FontDataInputSource filename) throws IOException
IOException
public TrueTypeFont(FontDataInputSource filename, long offset) throws IOException
IOException
public TrueTypeFont(FontDataInputSource filename, long offset, int collectionIndex) throws IOException
IOException
public TrueTypeFont(File filename) throws IOException
IOException
public TrueTypeFont(File filename, long offset) throws IOException
IOException
public TrueTypeFont(File filename, long offset, int collectionIndex) throws IOException
IOException
public int getCollectionIndex()
public long getOffset()
public String getFilename()
public FontTable getTable(long key) throws IOException
IOException
public void dispose()
public FontDataInputSource getInputSource()