Class LookupSubTable

java.lang.Object
org.apache.fontbox.ttf.table.common.LookupSubTable
Direct Known Subclasses:
LookupTypeAlternateSubstitutionFormat1, LookupTypeLigatureSubstitutionSubstFormat1, LookupTypeMultipleSubstitutionFormat1, LookupTypeSingleSubstFormat1, LookupTypeSingleSubstFormat2

public abstract class LookupSubTable extends Object
This class models the Lookup Sub-Table in the Open Type layout common tables.
  • Field Details

    • substFormat

      private final int substFormat
    • coverageTable

      private final CoverageTable coverageTable
  • Constructor Details

    • LookupSubTable

      public LookupSubTable(int substFormat, CoverageTable coverageTable)
  • Method Details

    • doSubstitution

      public abstract int doSubstitution(int gid, int coverageIndex)
    • getSubstFormat

      public int getSubstFormat()
    • getCoverageTable

      public CoverageTable getCoverageTable()