Class CharStrings

java.lang.Object
com.adobe.fontengine.font.cff.CharStrings

public final class CharStrings extends Object
Represents a CharstringINDEX.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final com.adobe.fontengine.font.cff.CFFByteArray
    The container for our bytes.
    final int
    The offset of our bytes in data.
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.adobe.fontengine.font.cff.Index.Cursor
    elementEntered(com.adobe.fontengine.font.cff.CFFByteArray.CFFByteArrayBuilder bb, com.adobe.fontengine.font.cff.Index.Cursor cursor)
     
    int
    The number of entries in the INDEX.
    int
    offsetFollowing(int entry)
    The offset, in data, of the first byte following entry.
    int
    offsetOf(int entry)
    The offset, in data, of entry.
    int
    The size, in bytes, of this INDEX in the data.
    int
    sizeOf(int entry)
    The size, in bytes, of entry.
    static com.adobe.fontengine.font.cff.Index.Cursor
    startIndex(com.adobe.fontengine.font.cff.CFFByteArray.CFFByteArrayBuilder bb, int n)
     
    void
    stream(com.adobe.fontengine.font.cff.CFFByteArray.CFFByteArrayBuilder bb)
     

    Methods inherited from class java.lang.Object

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

    • data

      public final com.adobe.fontengine.font.cff.CFFByteArray data
      The container for our bytes.
    • offset

      public final int offset
      The offset of our bytes in data.
  • Method Details

    • size

      public int size()
      The size, in bytes, of this INDEX in the data.
    • getCount

      public int getCount()
      The number of entries in the INDEX.
    • offsetOf

      public int offsetOf(int entry)
      The offset, in data, of entry.
    • offsetFollowing

      public int offsetFollowing(int entry)
      The offset, in data, of the first byte following entry.
    • sizeOf

      public int sizeOf(int entry)
      The size, in bytes, of entry.
    • stream

      public void stream(com.adobe.fontengine.font.cff.CFFByteArray.CFFByteArrayBuilder bb) throws InvalidFontException
      Throws:
      InvalidFontException
    • startIndex

      public static com.adobe.fontengine.font.cff.Index.Cursor startIndex(com.adobe.fontengine.font.cff.CFFByteArray.CFFByteArrayBuilder bb, int n)
    • elementEntered

      public static com.adobe.fontengine.font.cff.Index.Cursor elementEntered(com.adobe.fontengine.font.cff.CFFByteArray.CFFByteArrayBuilder bb, com.adobe.fontengine.font.cff.Index.Cursor cursor)