Class CharStrings


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

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

      All Methods Static Methods Instance Methods Concrete Methods 
      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 getCount()
      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 size()
      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 Detail

      • 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 Detail

      • 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.
      • 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)