org.apache.fontbox.cff
Class CFFParser
java.lang.Object
org.apache.fontbox.cff.CFFParser
public class CFFParser
- extends Object
This class represents a parser for a CFF font.
- Version:
- $Revision: 1.0 $
- Author:
- Villu Ruusmann
Method Summary |
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 |
CFFParser
public CFFParser()
parse
public List<CFFFont> parse(byte[] bytes)
throws IOException
- Parsing CFF Font using a byte array as input.
- Parameters:
bytes
- the given byte array
- Returns:
- the parsed CFF fonts
- Throws:
IOException
- If there is an error reading from the stream