com.caucho.quercus.lib.pdf
Class AfmParser

java.lang.Object
  extended by com.caucho.quercus.lib.pdf.AfmParser

public class AfmParser
extends java.lang.Object

parses afm


Constructor Summary
AfmParser()
           
 
Method Summary
 Font parse(java.lang.String webInfLibPath, java.lang.String name)
          Parses the AFM file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AfmParser

public AfmParser()
Method Detail

parse

public Font parse(java.lang.String webInfLibPath,
                  java.lang.String name)
           throws java.io.IOException
Parses the AFM file. If the webInfLibPath is not null or empty and is the valid absolute path to this applications WEB-INF/lib folder (or any other folder containing jars to load), jars inside that folder are also searched for fonts.

Throws:
java.io.IOException