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

      @NativeType("FT_String *") 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

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

      @NativeType("FT_Fixed") public long cid_version()
      Returns:
      the value of the cid_version field.
    • cid_font_type

      @NativeType("FT_Int") public int cid_font_type()
      Returns:
      the value of the cid_font_type field.
    • registry

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

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

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

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

      @NativeType("FT_Int") public int supplement()
      Returns:
      the value of the supplement field.
    • font_info

      @NativeType("PS_FontInfoRec") 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

      @NativeType("FT_ULong") public long uid_base()
      Returns:
      the value of the uid_base field.
    • num_xuid

      @NativeType("FT_Int") public int num_xuid()
      Returns:
      the value of the num_xuid field.
    • xuid

      @NativeType("FT_ULong[16]") public CLongBuffer xuid()
      Returns:
      a CLongBuffer view of the xuid field.
    • xuid

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

      @NativeType("FT_ULong") public long cidmap_offset()
      Returns:
      the value of the cidmap_offset field.
    • fd_bytes

      @NativeType("FT_UInt") public int fd_bytes()
      Returns:
      the value of the fd_bytes field.
    • gd_bytes

      @NativeType("FT_UInt") public int gd_bytes()
      Returns:
      the value of the gd_bytes field.
    • cid_count

      @NativeType("FT_ULong") public long cid_count()
      Returns:
      the value of the cid_count field.
    • num_dicts

      @NativeType("FT_UInt") 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

      @NativeType("FT_ULong") public long data_offset()
      Returns:
      the value of the data_offset field.