Class CID_FaceInfo.Buffer

All Implemented Interfaces:
Iterable<CID_FaceInfo>, Pointer
Enclosing class:
CID_FaceInfo

public static class CID_FaceInfo.Buffer extends StructBuffer<CID_FaceInfo,CID_FaceInfo.Buffer>
An array of CID_FaceInfo structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new CID_FaceInfo.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by CID_FaceInfo.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • cid_font_name

      public ByteBuffer cid_font_name()
      Returns:
      a ByteBuffer view of the null-terminated string pointed to by the cid_font_name field.
    • cid_font_nameString

      public String cid_font_nameString()
      Returns:
      the null-terminated string pointed to by the cid_font_name field.
    • cid_version

      public long cid_version()
      Returns:
      the value of the cid_version field.
    • cid_font_type

      public int cid_font_type()
      Returns:
      the value of the cid_font_type field.
    • registry

      public ByteBuffer registry()
      Returns:
      a ByteBuffer view of the null-terminated string pointed to by the registry field.
    • registryString

      public String registryString()
      Returns:
      the null-terminated string pointed to by the registry field.
    • ordering

      public ByteBuffer ordering()
      Returns:
      a ByteBuffer view of the null-terminated string pointed to by the ordering field.
    • orderingString

      public String orderingString()
      Returns:
      the null-terminated string pointed to by the ordering field.
    • supplement

      public int supplement()
      Returns:
      the value of the supplement field.
    • font_info

      public PS_FontInfo font_info()
      Returns:
      a PS_FontInfo view of the font_info field.
    • font_bbox

      public FT_BBox font_bbox()
      Returns:
      a FT_BBox view of the font_bbox field.
    • uid_base

      public long uid_base()
      Returns:
      the value of the uid_base field.
    • num_xuid

      public int num_xuid()
      Returns:
      the value of the num_xuid field.
    • xuid

      public CLongBuffer xuid()
      Returns:
      a CLongBuffer view of the xuid field.
    • xuid

      public long xuid(int index)
      Returns:
      the value at the specified index of the xuid field.
    • cidmap_offset

      public long cidmap_offset()
      Returns:
      the value of the cidmap_offset field.
    • fd_bytes

      public int fd_bytes()
      Returns:
      the value of the fd_bytes field.
    • gd_bytes

      public int gd_bytes()
      Returns:
      the value of the gd_bytes field.
    • cid_count

      public long cid_count()
      Returns:
      the value of the cid_count field.
    • num_dicts

      public int num_dicts()
      Returns:
      the value of the num_dicts field.
    • font_dicts

      public CID_FaceDict font_dicts()
      Returns:
      a CID_FaceDict view of the struct pointed to by the font_dicts field.
    • data_offset

      public long data_offset()
      Returns:
      the value of the data_offset field.