com.lowagie.text.pdf

Class CFFFont.IndexOffsetItem

Enclosing Class:
CFFFont

protected static final class CFFFont.IndexOffsetItem
extends CFFFont.OffsetItem

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.

Field Summary

int
size

Fields inherited from class com.lowagie.text.pdf.CFFFont.OffsetItem

value

Fields inherited from class com.lowagie.text.pdf.CFFFont.Item

myOffset

Constructor Summary

IndexOffsetItem(int size)
IndexOffsetItem(int size, int value)

Method Summary

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.

Methods inherited from class com.lowagie.text.pdf.CFFFont.OffsetItem

set

Methods inherited from class com.lowagie.text.pdf.CFFFont.Item

emit, increment, xref

Field Details

size

public final int size

Constructor Details

IndexOffsetItem

public IndexOffsetItem(int size)

IndexOffsetItem

public IndexOffsetItem(int size,
                       int value)

Method Details

emit

public void emit(byte[] buffer)
Emit the byte stream for this item.
Overrides:
emit in interface CFFFont.Item

increment

public void increment(int[] currentOffset)
remember the current offset and increment by item's size in bytes.
Overrides:
increment in interface CFFFont.Item