org.apache.fontbox.ttf
public class TTFParser extends Object
Version: $Revision: 1.2 $
Method Summary | |
---|---|
static void | main(String[] args)
A simple command line program to test parsing of a TTF file. |
TrueTypeFont | parseTTF(String ttfFile)
Parse a file and get a true type font. |
TrueTypeFont | parseTTF(File ttfFile)
Parse a file and get a true type font. |
TrueTypeFont | parseTTF(InputStream ttfData)
Parse a file and get a true type font. |
TrueTypeFont | parseTTF(TTFDataStream raf)
Parse a file and get a true type font. |
Parameters: args The command line arguments.
Throws: IOException If there is an error while parsing the font file.
Parameters: ttfFile The TTF file.
Returns: A true type font.
Throws: IOException If there is an error parsing the true type font.
Parameters: ttfFile The TTF file.
Returns: A true type font.
Throws: IOException If there is an error parsing the true type font.
Parameters: ttfData The TTF data to parse.
Returns: A true type font.
Throws: IOException If there is an error parsing the true type font.
Parameters: raf The TTF file.
Returns: A true type font.
Throws: IOException If there is an error parsing the true type font.