Class TT_OS2.Buffer

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

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

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new TT_OS2.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 TT_OS2.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

    • version

      public short version()
      Returns:
      the value of the version field.
    • xAvgCharWidth

      public short xAvgCharWidth()
      Returns:
      the value of the xAvgCharWidth field.
    • usWeightClass

      public short usWeightClass()
      Returns:
      the value of the usWeightClass field.
    • usWidthClass

      public short usWidthClass()
      Returns:
      the value of the usWidthClass field.
    • fsType

      public short fsType()
      Returns:
      the value of the fsType field.
    • ySubscriptXSize

      public short ySubscriptXSize()
      Returns:
      the value of the ySubscriptXSize field.
    • ySubscriptYSize

      public short ySubscriptYSize()
      Returns:
      the value of the ySubscriptYSize field.
    • ySubscriptXOffset

      public short ySubscriptXOffset()
      Returns:
      the value of the ySubscriptXOffset field.
    • ySubscriptYOffset

      public short ySubscriptYOffset()
      Returns:
      the value of the ySubscriptYOffset field.
    • ySuperscriptXSize

      public short ySuperscriptXSize()
      Returns:
      the value of the ySuperscriptXSize field.
    • ySuperscriptYSize

      public short ySuperscriptYSize()
      Returns:
      the value of the ySuperscriptYSize field.
    • ySuperscriptXOffset

      public short ySuperscriptXOffset()
      Returns:
      the value of the ySuperscriptXOffset field.
    • ySuperscriptYOffset

      public short ySuperscriptYOffset()
      Returns:
      the value of the ySuperscriptYOffset field.
    • yStrikeoutSize

      public short yStrikeoutSize()
      Returns:
      the value of the yStrikeoutSize field.
    • yStrikeoutPosition

      public short yStrikeoutPosition()
      Returns:
      the value of the yStrikeoutPosition field.
    • sFamilyClass

      public short sFamilyClass()
      Returns:
      the value of the sFamilyClass field.
    • panose

      public ByteBuffer panose()
      Returns:
      a ByteBuffer view of the panose field.
    • panose

      public byte panose(int index)
      Returns:
      the value at the specified index of the panose field.
    • ulUnicodeRange1

      public long ulUnicodeRange1()
      Returns:
      the value of the ulUnicodeRange1 field.
    • ulUnicodeRange2

      public long ulUnicodeRange2()
      Returns:
      the value of the ulUnicodeRange2 field.
    • ulUnicodeRange3

      public long ulUnicodeRange3()
      Returns:
      the value of the ulUnicodeRange3 field.
    • ulUnicodeRange4

      public long ulUnicodeRange4()
      Returns:
      the value of the ulUnicodeRange4 field.
    • achVendID

      public ByteBuffer achVendID()
      Returns:
      a ByteBuffer view of the achVendID field.
    • achVendID

      public byte achVendID(int index)
      Returns:
      the value at the specified index of the achVendID field.
    • fsSelection

      public short fsSelection()
      Returns:
      the value of the fsSelection field.
    • usFirstCharIndex

      public short usFirstCharIndex()
      Returns:
      the value of the usFirstCharIndex field.
    • usLastCharIndex

      public short usLastCharIndex()
      Returns:
      the value of the usLastCharIndex field.
    • sTypoAscender

      public short sTypoAscender()
      Returns:
      the value of the sTypoAscender field.
    • sTypoDescender

      public short sTypoDescender()
      Returns:
      the value of the sTypoDescender field.
    • sTypoLineGap

      public short sTypoLineGap()
      Returns:
      the value of the sTypoLineGap field.
    • usWinAscent

      public short usWinAscent()
      Returns:
      the value of the usWinAscent field.
    • usWinDescent

      public short usWinDescent()
      Returns:
      the value of the usWinDescent field.
    • ulCodePageRange1

      public long ulCodePageRange1()
      Returns:
      the value of the ulCodePageRange1 field.
    • ulCodePageRange2

      public long ulCodePageRange2()
      Returns:
      the value of the ulCodePageRange2 field.
    • sxHeight

      public short sxHeight()
      Returns:
      the value of the sxHeight field.
    • sCapHeight

      public short sCapHeight()
      Returns:
      the value of the sCapHeight field.
    • usDefaultChar

      public short usDefaultChar()
      Returns:
      the value of the usDefaultChar field.
    • usBreakChar

      public short usBreakChar()
      Returns:
      the value of the usBreakChar field.
    • usMaxContext

      public short usMaxContext()
      Returns:
      the value of the usMaxContext field.
    • usLowerOpticalPointSize

      public short usLowerOpticalPointSize()
      Returns:
      the value of the usLowerOpticalPointSize field.
    • usUpperOpticalPointSize

      public short usUpperOpticalPointSize()
      Returns:
      the value of the usUpperOpticalPointSize field.