Class PostTable

java.lang.Object
com.sun.pdfview.font.ttf.TrueTypeTable
com.sun.pdfview.font.ttf.PostTable

public class PostTable extends TrueTypeTable
Model the TrueType Post table
  • Field Details

    • format

      private int format
      Holds value of property format.
    • italicAngle

      private int italicAngle
      Holds value of property italicAngle.
    • underlinePosition

      private short underlinePosition
      Holds value of property underlinePosition.
    • underlineThickness

      private short underlineThickness
      Holds value of property underlineThickness.
    • isFixedPitch

      private short isFixedPitch
      Holds value of property isFixedPitch.
    • minMemType42

      private int minMemType42
      Holds value of property minMemType42.
    • maxMemType42

      private int maxMemType42
      Holds value of property maxMemType42.
    • minMemType1

      private int minMemType1
      Holds value of property minMemType1.
    • maxMemType1

      private int maxMemType1
      Holds value of property maxMemType1.
    • nameMap

      private PostTable.PostMap nameMap
      A map which character values to names and vice versa
  • 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
    • getGlyphName

      public String getGlyphName(char c)
      Map a character code to a glyphIndex name
    • getData

      public ByteBuffer getData()
      get the data in this map as a ByteBuffer
      Overrides:
      getData in class TrueTypeTable
    • setData

      public void setData(ByteBuffer data)
      Initialize this structure from a ByteBuffer
      Overrides:
      setData in class TrueTypeTable
    • getLength

      public int getLength()
      Get the length of this table
      Overrides:
      getLength in class TrueTypeTable
    • getFormat

      public int getFormat()
      Getter for property format.
      Returns:
      Value of property format.
    • setFormat

      public void setFormat(int format)
      Setter for property format.
      Parameters:
      format - New value of property format.
    • getItalicAngle

      public int getItalicAngle()
      Getter for property italicAngle.
      Returns:
      Value of property italicAngle.
    • setItalicAngle

      public void setItalicAngle(int italicAngle)
      Setter for property italicAngle.
      Parameters:
      italicAngle - New value of property italicAngle.
    • getUnderlinePosition

      public short getUnderlinePosition()
      Getter for property underlinePosition.
      Returns:
      Value of property underlinePosition.
    • setUnderlinePosition

      public void setUnderlinePosition(short underlinePosition)
      Setter for property underlinePosition.
      Parameters:
      underlinePosition - New value of property underlinePosition.
    • getUnderlineThickness

      public short getUnderlineThickness()
      Getter for property underlineThickness.
      Returns:
      Value of property underlineThickness.
    • setUnderlineThickness

      public void setUnderlineThickness(short underlineThickness)
      Setter for property underlineThickness.
      Parameters:
      underlineThickness - New value of property underlineThickness.
    • getIsFixedPitch

      public short getIsFixedPitch()
      Getter for property isFixedPitch.
      Returns:
      Value of property isFixedPitch.
    • setIsFixedPitch

      public void setIsFixedPitch(short isFixedPitch)
      Setter for property isFixedPitch.
      Parameters:
      isFixedPitch - New value of property isFixedPitch.
    • getMinMemType42

      public int getMinMemType42()
      Getter for property minMemType42.
      Returns:
      Value of property minMemType42.
    • setMinMemType42

      public void setMinMemType42(int minMemType42)
      Setter for property minMemType42.
      Parameters:
      minMemType42 - New value of property minMemType42.
    • getMaxMemType42

      public int getMaxMemType42()
      Getter for property maxMemType42.
      Returns:
      Value of property maxMemType42.
    • setMaxMemType42

      public void setMaxMemType42(int maxMemType42)
      Setter for property maxMemType42.
      Parameters:
      maxMemType42 - New value of property maxMemType42.
    • getMinMemType1

      public int getMinMemType1()
      Getter for property minMemType1.
      Returns:
      Value of property minMemType1.
    • setMinMemType1

      public void setMinMemType1(int minMemType1)
      Setter for property minMemType1.
      Parameters:
      minMemType1 - New value of property minMemType1.
    • getMaxMemType1

      public int getMaxMemType1()
      Getter for property maxMemType1.
      Returns:
      Value of property maxMemType1.
    • setMaxMemType1

      public void setMaxMemType1(int maxMemType1)
      Setter for property maxMemType1.
      Parameters:
      maxMemType1 - New value of property maxMemType1.