Package | Description |
---|---|
org.apache.fontbox.type1 |
This package holds classes used to parse Type1-Fonts.
|
Modifier and Type | Field and Description |
---|---|
private Token |
Type1Lexer.aheadToken |
Modifier and Type | Method and Description |
---|---|
Token |
Type1Lexer.nextToken()
Returns the next token and consumes it.
|
Token |
Type1Lexer.peekToken()
Returns the next token without consuming it.
|
private Token |
Type1Parser.read(Token.Kind kind)
Reads the next token and throws an error if it is not of the given kind.
|
private Token |
Type1Lexer.readCharString(int length)
Reads a binary CharString.
|
private Token |
Type1Parser.readMaybe(Token.Kind kind,
java.lang.String name)
Reads the next token if and only if it is of the given kind and
has the given value.
|
private Token |
Type1Lexer.readString()
Reads a (string).
|
private Token |
Type1Lexer.readToken(Token prevToken)
Reads a single token.
|
private Token |
Type1Lexer.tryReadNumber()
Reads a number or returns null.
|
Modifier and Type | Method and Description |
---|---|
private java.util.List<Token> |
Type1Parser.readDictValue()
Reads a simple value from a dictionary.
|
private java.util.List<Token> |
Type1Parser.readProc()
Reads a procedure.
|
private java.util.Map<java.lang.String,java.util.List<Token>> |
Type1Parser.readSimpleDict()
Reads a dictionary whose values are simple, i.e., do not contain
nested dictionaries.
|
private java.util.List<Token> |
Type1Parser.readValue()
Reads a simple value.
|
Modifier and Type | Method and Description |
---|---|
private Token |
Type1Lexer.readToken(Token prevToken)
Reads a single token.
|
Modifier and Type | Method and Description |
---|---|
private java.util.List<java.lang.Number> |
Type1Parser.arrayToNumbers(java.util.List<Token> value)
Extracts values from an array as numbers.
|
private void |
Type1Parser.readFontInfo(java.util.Map<java.lang.String,java.util.List<Token>> fontInfo)
Extracts values from the /FontInfo dictionary.
|
private void |
Type1Parser.readPostScriptWrapper(java.util.List<Token> value) |
private void |
Type1Parser.readPrivate(java.lang.String key,
java.util.List<Token> value)
Extracts values from the /Private dictionary.
|