Class PostTable

java.lang.Object
com.mta.tehreer.sfnt.tables.PostTable

public final class PostTable extends Object
Represents an OpenType `post' table.
  • Constructor Details

    • PostTable

      public PostTable(@NonNull Typeface typeface)
      Constructs a PostTable object from the specified typeface.
      Parameters:
      typeface - The typeface from which the PostTable object is constructed.
      Throws:
      NullPointerException - if typeface is null.
      RuntimeException - if typeface does not contain `post' table.
  • Method Details

    • from

      @Nullable public static PostTable from(@NonNull Typeface typeface)
      Constructs a PostTable object from the specified typeface.
      Parameters:
      typeface - The typeface from which the PostTable object is constructed.
      Returns:
      A new PostTable object, or null if `post' table does not exist in the specified typeface.
      Throws:
      NullPointerException - if typeface is null.
    • version

      public int version()
    • italicAngle

      public int italicAngle()
    • underlinePosition

      public short underlinePosition()
    • underlineThickness

      public short underlineThickness()
    • isFixedPitch

      public long isFixedPitch()
    • minMemType42

      public long minMemType42()
    • maxMemType42

      public long maxMemType42()
    • minMemType1

      public long minMemType1()
    • maxMemType1

      public long maxMemType1()
    • numberOfGlyphs

      public int numberOfGlyphs()
    • glyphNameAt

      public String glyphNameAt(int index)