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
IOExceptionpublic TrueTypeFont(FontDataInputSource filename, long offset) throws IOException
IOExceptionpublic TrueTypeFont(FontDataInputSource filename, long offset, int collectionIndex) throws IOException
IOExceptionpublic TrueTypeFont(File filename) throws IOException
IOExceptionpublic TrueTypeFont(File filename, long offset) throws IOException
IOExceptionpublic TrueTypeFont(File filename, long offset, int collectionIndex) throws IOException
IOExceptionpublic int getCollectionIndex()
public long getOffset()
public String getFilename()
public FontTable getTable(long key) throws IOException
IOExceptionpublic void dispose()
public FontDataInputSource getInputSource()