Package com.adobe.fontengine.font.cff
Class CharStrings
- java.lang.Object
-
- com.adobe.fontengine.font.cff.CharStrings
-
public final class CharStrings extends java.lang.Object
Represents a CharstringINDEX.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.adobe.fontengine.font.cff.Index.Cursor
elementEntered(com.adobe.fontengine.font.cff.CFFByteArray.CFFByteArrayBuilder bb, com.adobe.fontengine.font.cff.Index.Cursor cursor)
int
getCount()
The number of entries in the INDEX.int
offsetFollowing(int entry)
The offset, in data, of the first byte followingentry
.int
offsetOf(int entry)
The offset, in data, ofentry
.int
size()
The size, in bytes, of this INDEX in the data.int
sizeOf(int entry)
The size, in bytes, ofentry
.static com.adobe.fontengine.font.cff.Index.Cursor
startIndex(com.adobe.fontengine.font.cff.CFFByteArray.CFFByteArrayBuilder bb, int n)
void
stream(com.adobe.fontengine.font.cff.CFFByteArray.CFFByteArrayBuilder bb)
-
-
-
Method Detail
-
size
public int size()
The size, in bytes, of this INDEX in the data.
-
getCount
public int getCount()
The number of entries in the INDEX.
-
offsetOf
public int offsetOf(int entry)
The offset, in data, ofentry
.
-
offsetFollowing
public int offsetFollowing(int entry)
The offset, in data, of the first byte followingentry
.
-
sizeOf
public int sizeOf(int entry)
The size, in bytes, ofentry
.
-
stream
public void stream(com.adobe.fontengine.font.cff.CFFByteArray.CFFByteArrayBuilder bb) throws InvalidFontException
- Throws:
InvalidFontException
-
startIndex
public static com.adobe.fontengine.font.cff.Index.Cursor startIndex(com.adobe.fontengine.font.cff.CFFByteArray.CFFByteArrayBuilder bb, int n)
-
elementEntered
public static com.adobe.fontengine.font.cff.Index.Cursor elementEntered(com.adobe.fontengine.font.cff.CFFByteArray.CFFByteArrayBuilder bb, com.adobe.fontengine.font.cff.Index.Cursor cursor)
-
-