Package com.itextpdf.io.font
Class CFFFont.RangeItem
java.lang.Object
com.itextpdf.io.font.CFFFont.Item
com.itextpdf.io.font.CFFFont.RangeItem
- Enclosing class:
- CFFFont
A range item.
-
Field Summary
Fields inherited from class com.itextpdf.io.font.CFFFont.Item
myOffset
-
Constructor Summary
ConstructorsConstructorDescriptionRangeItem
(RandomAccessFileOrArray buf, int offset, int length) Creates a new range item represented by offset and length -
Method Summary
Methods inherited from class com.itextpdf.io.font.CFFFont.Item
xref
-
Constructor Details
-
RangeItem
Creates a new range item represented by offset and length- Parameters:
-
buf
- buffer containing font data -
offset
- an offset relative to start of the CFF data -
length
- length of the data
-
-
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
-