Class PostTable

java.lang.Object
org.loboevolution.pdfview.font.ttf.TrueTypeTable
org.loboevolution.pdfview.font.ttf.PostTable

public class PostTable extends TrueTypeTable
Model the TrueType Post table

Author jkaplan

  • Constructor Details

    • PostTable

      protected PostTable()
      Creates a new instance of PostTable
  • Method Details

    • getGlyphNameIndex

      public short getGlyphNameIndex(String name)
      Map a character name to a glyphNameIndex
      Parameters:
      name - a String object.
      Returns:
      a short.
    • getGlyphName

      public String getGlyphName(char c)
      Map a character code to a glyphIndex name
      Parameters:
      c - a char.
      Returns:
      a String object.
    • getData

      public ByteBuffer getData()

      get the data in this map as a ByteBuffer

    • setData

      public void setData(ByteBuffer data)

      Initialize this structure from a ByteBuffer

    • getLength

      public int getLength()
      Get the size of the table, in bytes

      Get the length of this table

      Overrides:
      getLength in class TrueTypeTable
      Returns:
      a Integer object.