Package org.apache.fop.fonts.type1
Class PostscriptParser
java.lang.Object
org.apache.fop.fonts.type1.PostscriptParser
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
An object representing a Postscript dictionaryclass
A base Postscript element classclass
An object representing a Postscript array with a fixed number of entriesclass
An object representing a Postscript subroutine elementclass
An object representing a Postscript variableclass
An object representing a Postscript array with a variable number of entries -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateElement
(String operator, String elementID, int startPoint) parse
(byte[] segment) Parses the postscript document and returns a list of elements
-
Field Details
-
LOG
protected static final org.apache.commons.logging.Log LOG
-
-
Constructor Details
-
PostscriptParser
public PostscriptParser()
-
-
Method Details
-
parse
Parses the postscript document and returns a list of elements- Parameters:
segment
- The byte array containing the postscript data- Returns:
- A list of found Postscript elements
- Throws:
IOException
-
createElement
-