Class CFFFont.DictNumberItem

java.lang.Object
com.itextpdf.io.font.CFFFont.Item
com.itextpdf.io.font.CFFFont.DictNumberItem
Enclosing class:
CFFFont

protected static final class CFFFont.DictNumberItem extends CFFFont.Item
A dictionary number on the list. This implementation is inefficient: it doesn't use the variable-length representation.
  • Field Details

    • value

      public final int value
    • size

      public int size
  • Constructor Details

    • DictNumberItem

      public DictNumberItem (int value)
  • 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 class CFFFont.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 class CFFFont.Item
      Parameters:
      buffer - byte array