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 java.lang.ObjectThis class models the Lookup Sub-Table in the Open Type layout common tables.
-
-
Field Summary
Fields Modifier and Type Field Description private CoverageTablecoverageTableprivate intsubstFormat
-
Constructor Summary
Constructors Constructor Description LookupSubTable(int substFormat, CoverageTable coverageTable)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract intdoSubstitution(int gid, int coverageIndex)CoverageTablegetCoverageTable()intgetSubstFormat()
-
-
-
Field Detail
-
substFormat
private final int substFormat
-
coverageTable
private final CoverageTable coverageTable
-
-
Constructor Detail
-
LookupSubTable
public LookupSubTable(int substFormat, CoverageTable coverageTable)
-
-
Method Detail
-
doSubstitution
public abstract int doSubstitution(int gid, int coverageIndex)
-
getSubstFormat
public int getSubstFormat()
-
getCoverageTable
public CoverageTable getCoverageTable()
-
-