Class CFFFont.Item

java.lang.Object
com.itextpdf.io.font.CFFFont.Item
Direct Known Subclasses:
CFFFont.DictNumberItem, CFFFont.IndexBaseItem, CFFFont.IndexMarkerItem, CFFFont.MarkerItem, CFFFont.OffsetItem, CFFFont.RangeItem, CFFFont.StringItem, CFFFont.SubrMarkerItem, CFFFont.UInt16Item, CFFFont.UInt24Item, CFFFont.UInt32Item, CFFFont.UInt8Item
Enclosing class:
CFFFont

protected abstract static class CFFFont.Item extends Object
List items for the linked list that builds the new CID font.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Item()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    void
    xref()
    Fix up cross references to this item (applies only to markers).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • myOffset

      protected int myOffset
  • Constructor Details

    • Item

      protected Item()
  • Method Details

    • increment

      public void increment (int[] currentOffset)
      Remember the current offset and increment by item's size in bytes.
      Parameters:
      currentOffset - increment offset by item's size
    • emit

      public void emit (byte[] buffer)
      Emit the byte stream for this item.
      Parameters:
      buffer - byte array
    • xref

      public void xref()
      Fix up cross references to this item (applies only to markers).