com.lowagie.text.pdf
Class CFFFont.IndexOffsetItem
- CFFFont
protected static final class CFFFont.IndexOffsetItem
An index-offset item for the list.
The size denotes the required size in the CFF. A positive
value means that we need a specific size in bytes (for offset arrays)
and a negative value means that this is a dict item that uses a
variable-size representation.
void | emit(byte[] buffer) - Emit the byte stream for this item.
|
void | increment(int[] currentOffset) - remember the current offset and increment by item's size in bytes.
|
size
public final int size
IndexOffsetItem
public IndexOffsetItem(int size)
IndexOffsetItem
public IndexOffsetItem(int size,
int value)
emit
public void emit(byte[] buffer)
Emit the byte stream for this item.
- emit in interface CFFFont.Item
increment
public void increment(int[] currentOffset)
remember the current offset and increment by item's size in bytes.
- increment in interface CFFFont.Item