Package com.itextpdf.io.font
Class CFFFont.IndexOffsetItem
java.lang.Object
com.itextpdf.io.font.CFFFont.Item
com.itextpdf.io.font.CFFFont.OffsetItem
com.itextpdf.io.font.CFFFont.IndexOffsetItem
- Enclosing class:
- CFFFont
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
Fields inherited from class com.itextpdf.io.font.CFFFont.Item
myOffset
-
Constructor Summary
-
Method Summary
Methods inherited from class com.itextpdf.io.font.CFFFont.OffsetItem
getOffset, setOffset
Methods inherited from class com.itextpdf.io.font.CFFFont.Item
xref
-
Constructor Details
-
IndexOffsetItem
public IndexOffsetItem(int size, int value) -
IndexOffsetItem
public IndexOffsetItem(int size)
-
-
Method Details
-
increment
public void increment(int[] currentOffset) Description copied from class:CFFFont.Item
Remember the current offset and increment by item's size in bytes.- Overrides:
-
increment
in classCFFFont.Item
- Parameters:
-
currentOffset
- increment offset by item's size
-
emit
public void emit(byte[] buffer) Description copied from class:CFFFont.Item
Emit the byte stream for this item.- Overrides:
-
emit
in classCFFFont.Item
- Parameters:
-
buffer
- byte array
-