Package org.apache.fop.fonts.truetype
Class OTFSubSetFile.Type2Parser
- java.lang.Object
-
- org.apache.fop.fonts.truetype.OTFSubSetFile.Type2Parser
-
- Enclosing class:
- OTFSubSetFile
static class OTFSubSetFile.Type2Parser extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
hstemCount
private int
lastOp
protected org.apache.commons.logging.Log
log
logging instanceprivate int
maskLength
private java.util.List<OTFSubSetFile.BytesNumber>
stack
private int
vstemCount
-
Constructor Summary
Constructors Constructor Description Type2Parser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearStack()
private int
exec(int b0, byte[] input, int curPos)
int
exec(int b0, java.io.InputStream data)
int
getMaskLength()
int[]
getOperands(int numbers)
OTFSubSetFile.BytesNumber
popOperand()
void
pushOperand(OTFSubSetFile.BytesNumber v)
private OTFSubSetFile.BytesNumber
readNumber(int b0, java.io.InputStream input)
void
setMaskLength(int maskLength)
-
-
-
Field Detail
-
log
protected org.apache.commons.logging.Log log
logging instance
-
stack
private java.util.List<OTFSubSetFile.BytesNumber> stack
-
hstemCount
private int hstemCount
-
vstemCount
private int vstemCount
-
lastOp
private int lastOp
-
maskLength
private int maskLength
-
-
Method Detail
-
pushOperand
public void pushOperand(OTFSubSetFile.BytesNumber v)
-
popOperand
public OTFSubSetFile.BytesNumber popOperand()
-
clearStack
public void clearStack()
-
getOperands
public int[] getOperands(int numbers)
-
setMaskLength
public void setMaskLength(int maskLength)
-
getMaskLength
public int getMaskLength()
-
exec
private int exec(int b0, byte[] input, int curPos) throws java.io.IOException
- Throws:
java.io.IOException
-
exec
public int exec(int b0, java.io.InputStream data) throws java.io.IOException
- Throws:
java.io.IOException
-
readNumber
private OTFSubSetFile.BytesNumber readNumber(int b0, java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
-