public class CFFParser extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
CFFParser.ByteSource
Source from which bytes may be read in the future.
|
Constructor and Description |
---|
CFFParser() |
Modifier and Type | Method and Description |
---|---|
List<CFFFont> |
parse(byte[] bytes)
Parse CFF font using a byte array as input.
|
List<CFFFont> |
parse(byte[] bytes,
CFFParser.ByteSource source)
Parse CFF font using byte array, also passing in a byte source for future use.
|
String |
toString() |
public List<CFFFont> parse(byte[] bytes, CFFParser.ByteSource source) throws IOException
bytes
- source bytessource
- source to re-read bytes from in the futureIOException
- If there is an error reading from the streampublic List<CFFFont> parse(byte[] bytes) throws IOException
bytes
- the given byte arrayIOException
- If there is an error reading from the streamCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.