public final class Type1Parser extends Object
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_LEN_IV |
static org.apache.commons.logging.Log |
LOGGER |
protected static char |
NAME_START |
protected static String |
NOTDEF |
Modifier and Type | Method and Description |
---|---|
static Type1Parser |
createParser(InputStream fontProgram,
int clearTextLength,
int eexecLength) |
static Type1Parser |
createParserWithEncodingName(InputStream fontProgram,
int clearTextLength,
int eexecLength,
String encodingName) |
static Type1Parser |
createParserWithEncodingObject(InputStream fontProgram,
int clearTextLength,
int eexecLength,
Encoding encoding) |
Type1 |
parse() |
public static final org.apache.commons.logging.Log LOGGER
protected static final char NAME_START
protected static final String NOTDEF
protected static final int DEFAULT_LEN_IV
public static Type1Parser createParser(InputStream fontProgram, int clearTextLength, int eexecLength) throws IOException
fontProgram
- the stream of the font program extracted from the PDF file.clearTextLength
- the length in bytes of the clear part of the font program.eexecLength
- the length in bytes of the encoded part.IOException
public static Type1Parser createParserWithEncodingName(InputStream fontProgram, int clearTextLength, int eexecLength, String encodingName) throws IOException
fontProgram
- the stream of the font program extracted from the PDF file.clearTextLength
- the length in bytes of the clear part of the font program.eexecLength
- the length in bytes of the encoded part.encodingName
- The name of encoding which is used by this font program.IOException
public static Type1Parser createParserWithEncodingObject(InputStream fontProgram, int clearTextLength, int eexecLength, Encoding encoding) throws IOException
fontProgram
- the stream of the font program extracted from the PDF file.clearTextLength
- the length in bytes of the clear part of the font program.eexecLength
- the length in bytes of the encoded part.encodingName
- The encoding object which is used by this font program.IOException
public Type1 parse() throws IOException
IOException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.