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 inthstemCountprivate intlastOpprotected org.apache.commons.logging.Logloglogging instanceprivate intmaskLengthprivate java.util.List<OTFSubSetFile.BytesNumber>stackprivate intvstemCount
-
Constructor Summary
Constructors Constructor Description Type2Parser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearStack()private intexec(int b0, byte[] input, int curPos)intexec(int b0, java.io.InputStream data)intgetMaskLength()int[]getOperands(int numbers)OTFSubSetFile.BytesNumberpopOperand()voidpushOperand(OTFSubSetFile.BytesNumber v)private OTFSubSetFile.BytesNumberreadNumber(int b0, java.io.InputStream input)voidsetMaskLength(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
-
-