|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fontbox.ttf.TTFParser
public class TTFParser
A true type font file parser.
| Constructor Summary | |
|---|---|
TTFParser()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
A simple command line program to test parsing of a TTF file. |
TrueTypeFont |
parseTTF(java.io.File ttfFile)
Parse a file and get a true type font. |
TrueTypeFont |
parseTTF(java.io.InputStream ttfData)
Parse a file and get a true type font. |
TrueTypeFont |
parseTTF(java.lang.String ttfFile)
Parse a file and get a true type font. |
TrueTypeFont |
parseTTF(TTFDataStream raf)
Parse a file and get a true type font. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TTFParser()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.io.IOException
args - The command line arguments.
java.io.IOException - If there is an error while parsing the font file.
public TrueTypeFont parseTTF(java.lang.String ttfFile)
throws java.io.IOException
ttfFile - The TTF file.
java.io.IOException - If there is an error parsing the true type font.
public TrueTypeFont parseTTF(java.io.File ttfFile)
throws java.io.IOException
ttfFile - The TTF file.
java.io.IOException - If there is an error parsing the true type font.
public TrueTypeFont parseTTF(java.io.InputStream ttfData)
throws java.io.IOException
ttfData - The TTF data to parse.
java.io.IOException - If there is an error parsing the true type font.
public TrueTypeFont parseTTF(TTFDataStream raf)
throws java.io.IOException
raf - The TTF file.
java.io.IOException - If there is an error parsing the true type font.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||