|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.font.format.xtf.tables.cff.T2CharString
public abstract class T2CharString
The Type 2 Charstring format.
| Field Summary | |
|---|---|
static T2Escape |
ESCAPE
escape |
static byte |
ESCAPE_BYTE
escape-byte. |
static int |
T2CALLGSUBR
callgsubr. |
static int |
T2CALLSUBR
callsubr. |
static int |
T2CNTRMASK
cntrmask (20). |
static int |
T2ENDCHAR
endchar. |
static int |
T2FLEX
flex (12 35). |
static int |
T2FLEX1
flex1 (12 37). |
static int |
T2HFLEX
hflex (12 34). |
static int |
T2HFLEX1
hflex1 (12 36). |
static int |
T2HHCURVETO
hhcurveto. |
static int |
T2HINTMASK
hintmask. |
static int |
T2HLINETO
hlineto |
static int |
T2HMOVETO
hmoveto |
static int |
T2HSTEM
hstem. |
static int |
T2HSTEMHM
hstemhm. |
static int |
T2HVCURVETO
hvcurveto. |
static int |
T2RCURVELINE
rcurveline. |
static int |
T2RETURN
return (11). |
static int |
T2RLINECURVE
rlinecurve. |
static int |
T2RLINETO
rlineto |
static int |
T2RMOVETO
rmoveto |
static int |
T2RRCURVETO
rrcurveto. |
static int |
T2VHCURVETO
vhcurveto. |
static int |
T2VLINETO
vlineto |
static int |
T2VMOVETO
vmoveto |
static int |
T2VSTEM
vstem. |
static int |
T2VSTEMHM
vstemhm. |
static int |
T2VVCURVETO
vvcurveto. |
static int |
TYPE_CALLGSUBR
Type callgsubr. |
static int |
TYPE_CALLSUBR
Type callsubr. |
static int |
TYPE_CNTRMASK
Type cntrmask. |
static int |
TYPE_ENDCHAR
Type endchar. |
static int |
TYPE_FLEX
Type flex. |
static int |
TYPE_FLEX1
Type flex1. |
static int |
TYPE_HFLEX
Type hflex. |
static int |
TYPE_HFLEX1
Type hflex1. |
static int |
TYPE_HHCURVETO
Type hhcurveto. |
static int |
TYPE_HINTMASK
Type hintmask. |
static int |
TYPE_HLINETO
Type hlineto. |
static int |
TYPE_HMOVETO
Type hmoveto. |
static int |
TYPE_HSTEM
Type hstem. |
static int |
TYPE_HSTEMHM
Type hstemhm. |
static int |
TYPE_HVCURVETO
Type hvcurveto. |
static int |
TYPE_RCURVELINE
Type rcurveline. |
static int |
TYPE_RETURN
Type return. |
static int |
TYPE_RLINECURVE
Type rlinecurve. |
static int |
TYPE_RLINETO
Type rlineto. |
static int |
TYPE_RMOVETO
Type rmoveto. |
static int |
TYPE_RRCURVETO
Type rrcurveto. |
static int |
TYPE_VHCURVETO
Type vhcurveto. |
static int |
TYPE_VLINETO
Type vlineto. |
static int |
TYPE_VMOVETO
Type vmoveto. |
static int |
TYPE_VSTEM
Type vstem. |
static int |
TYPE_VSTEMHM
Type vstemhm. |
static int |
TYPE_VVCURVETO
Type vvcurveto. |
| Constructor Summary | |
|---|---|
protected |
T2CharString()
Create a new object. |
| Method Summary | |
|---|---|
abstract short[] |
getBytes()
Returns the byte-array as short for the object. |
int |
getInitPrio()
Returns the priority for the init process. |
abstract void |
init(RandomAccessR rar,
OtfTableCFF cff,
int baseoffset,
CffFont cffFont)
Initialize. |
boolean |
isArray()
Check, if the object is a array. |
boolean |
isBoolean()
Check, if the object is a boolean. |
boolean |
isDouble()
Check, if the object is a double. |
boolean |
isEscape()
Check, if the object is an escape-marker. |
boolean |
isInteger()
Check, if the object is a integer. |
boolean |
isOperator()
Check, if the object is an operator. |
boolean |
isTopDICTOperator()
Check, if the object is a Top DICT operator. |
static T2Number |
readNumber(RandomAccessR rar)
Read a number. |
static T2Number |
readNumber(RandomAccessR rar,
int b0)
Read a number. |
static T2SID |
readSID(RandomAccessR rar)
Read a SID. |
static T2Operator |
readTopDICTOperator(RandomAccessR rar)
Read a top DICT operator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final T2Escape ESCAPE
public static final byte ESCAPE_BYTE
public static final int T2CALLGSUBR
public static final int T2CALLSUBR
public static final int T2CNTRMASK
public static final int T2ENDCHAR
public static final int T2FLEX
public static final int T2FLEX1
public static final int T2HFLEX
public static final int T2HFLEX1
public static final int T2HHCURVETO
public static final int T2HINTMASK
public static final int T2HLINETO
public static final int T2HMOVETO
public static final int T2HSTEM
public static final int T2HSTEMHM
public static final int T2HVCURVETO
public static final int T2RCURVELINE
public static final int T2RETURN
public static final int T2RLINECURVE
public static final int T2RLINETO
public static final int T2RMOVETO
public static final int T2RRCURVETO
public static final int T2VHCURVETO
public static final int T2VLINETO
public static final int T2VMOVETO
public static final int T2VSTEM
public static final int T2VSTEMHM
public static final int T2VVCURVETO
public static final int TYPE_CALLGSUBR
public static final int TYPE_CALLSUBR
public static final int TYPE_CNTRMASK
public static final int TYPE_ENDCHAR
public static final int TYPE_FLEX
public static final int TYPE_FLEX1
public static final int TYPE_HFLEX
public static final int TYPE_HFLEX1
public static final int TYPE_HHCURVETO
public static final int TYPE_HINTMASK
public static final int TYPE_HLINETO
public static final int TYPE_HMOVETO
public static final int TYPE_HSTEM
public static final int TYPE_HSTEMHM
public static final int TYPE_HVCURVETO
public static final int TYPE_RCURVELINE
public static final int TYPE_RETURN
public static final int TYPE_RLINECURVE
public static final int TYPE_RLINETO
public static final int TYPE_RMOVETO
public static final int TYPE_RRCURVETO
public static final int TYPE_VHCURVETO
public static final int TYPE_VLINETO
public static final int TYPE_VMOVETO
public static final int TYPE_VSTEM
public static final int TYPE_VSTEMHM
public static final int TYPE_VVCURVETO
| Constructor Detail |
|---|
protected T2CharString()
| Method Detail |
|---|
public static T2Number readNumber(RandomAccessR rar)
throws java.io.IOException
rar - the input
java.io.IOException - if an IO-error occurs.
public static T2Number readNumber(RandomAccessR rar,
int b0)
throws java.io.IOException
rar - the inputb0 - the first byte
java.io.IOException - if an IO-error occurs.
public static T2SID readSID(RandomAccessR rar)
throws java.io.IOException
SID (0-64999) 2-byte string identifier
rar - the input
java.io.IOException - if an IO-error occurs.
public static T2Operator readTopDICTOperator(RandomAccessR rar)
throws java.io.IOException
rar - the input
java.io.IOException - if an IO-error occurspublic abstract short[] getBytes()
public int getInitPrio()
public abstract void init(RandomAccessR rar,
OtfTableCFF cff,
int baseoffset,
CffFont cffFont)
throws java.io.IOException
rar - The inputcff - The cff tablebaseoffset - The base offset from cff.cffFont - The cff font.
java.io.IOException - if an IO-error occurred.public boolean isArray()
true, if the object is a array.public boolean isBoolean()
true, if the object is a boolean.public boolean isDouble()
true, if the object is a double.public boolean isEscape()
true, if the object is an escape-marker.public boolean isInteger()
true, if the object is a integer.public boolean isOperator()
true, if the object is an operator.public boolean isTopDICTOperator()
true, if the object is a Top DICT
operator.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||