Class LookupTypeAlternateSubstitutionFormat1
- java.lang.Object
-
- org.apache.fontbox.ttf.table.common.LookupSubTable
-
- org.apache.fontbox.ttf.table.gsub.LookupTypeAlternateSubstitutionFormat1
-
public class LookupTypeAlternateSubstitutionFormat1 extends LookupSubTable
Lookup Type 3: Alternate Substitution Subtable as described in OpenType spec: ...
-
-
Field Summary
Fields Modifier and Type Field Description private AlternateSetTable[]alternateSetTables
-
Constructor Summary
Constructors Constructor Description LookupTypeAlternateSubstitutionFormat1(int substFormat, CoverageTable coverageTable, AlternateSetTable[] alternateSetTables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdoSubstitution(int gid, int coverageIndex)AlternateSetTable[]getAlternateSetTables()-
Methods inherited from class org.apache.fontbox.ttf.table.common.LookupSubTable
getCoverageTable, getSubstFormat
-
-
-
-
Field Detail
-
alternateSetTables
private final AlternateSetTable[] alternateSetTables
-
-
Constructor Detail
-
LookupTypeAlternateSubstitutionFormat1
public LookupTypeAlternateSubstitutionFormat1(int substFormat, CoverageTable coverageTable, AlternateSetTable[] alternateSetTables)
-
-
Method Detail
-
getAlternateSetTables
public AlternateSetTable[] getAlternateSetTables()
-
doSubstitution
public int doSubstitution(int gid, int coverageIndex)- Specified by:
doSubstitutionin classLookupSubTable
-
-