org.apache.fontbox.cff
Class CFFParser

java.lang.Object
  extended by org.apache.fontbox.cff.CFFParser

public class CFFParser
extends java.lang.Object

This class represents a parser for a CFF font.

Version:
$Revision: 1.0 $
Author:
Villu Ruusmann

Constructor Summary
CFFParser()
           
 
Method Summary
 java.util.List<CFFFont> parse(byte[] bytes)
          Parsing CFF Font using a byte array as input.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CFFParser

public CFFParser()
Method Detail

parse

public java.util.List<CFFFont> parse(byte[] bytes)
                              throws java.io.IOException
Parsing CFF Font using a byte array as input.

Parameters:
bytes - the given byte array
Returns:
the parsed CFF fonts
Throws:
java.io.IOException - If there is an error reading from the stream