public class CFFParser extends Object
Modifier and Type | Class | Description |
---|---|---|
static interface |
CFFParser.ByteSource |
Source from which bytes may be read in the future.
|
Constructor | Description |
---|---|
CFFParser() |
Modifier and Type | Method | 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 © 2008–2018. All rights reserved.