Home » pdfbox-1.1.0-src » org.apache.fontbox.ttf » [javadoc | source]
org.apache.fontbox.ttf
public class: TTFParser [javadoc | source]
java.lang.Object
   org.apache.fontbox.ttf.TTFParser
A true type font file parser.
Method from org.apache.fontbox.ttf.TTFParser Summary:
main,   parseTTF,   parseTTF,   parseTTF,   parseTTF
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.fontbox.ttf.TTFParser Detail:
 public static  void main(String[] args) throws IOException 
    A simple command line program to test parsing of a TTF file.
    usage: java org.pdfbox.ttf.TTFParser <ttf-file>
 public TrueTypeFont parseTTF(String ttfFile) throws IOException 
    Parse a file and get a true type font.
 public TrueTypeFont parseTTF(File ttfFile) throws IOException 
    Parse a file and get a true type font.
 public TrueTypeFont parseTTF(InputStream ttfData) throws IOException 
    Parse a file and get a true type font.
 public TrueTypeFont parseTTF(TTFDataStream raf) throws IOException 
    Parse a file and get a true type font.