Top Description Fields Constructors Methods
org.apache.fontbox.ttf.table.gsub

public Class LookupTypeAlternateSubstitutionFormat1

extends LookupSubTable
Class Inheritance
Imports
org.apache.fontbox.ttf.table.common.CoverageTable, .LookupSubTable

Lookup Type 3: Alternate Substitution Subtable as described in OpenType spec: ...

Field Summary

Modifier and TypeField and Description
private final AlternateSetTable[]

Constructor Summary

AccessConstructor and Description
public
LookupTypeAlternateSubstitutionFormat1(int substFormat, CoverageTable coverageTable, AlternateSetTable[] alternateSetTables)

Method Summary

Modifier and TypeMethod and Description
public int
public AlternateSetTable[]
Inherited from org.apache.fontbox.ttf.table.common.LookupSubTable:
getCoverageTablegetSubstFormat

Field Detail

alternateSetTablesback to summary
private final AlternateSetTable[] alternateSetTables

Constructor Detail

LookupTypeAlternateSubstitutionFormat1back to summary
public LookupTypeAlternateSubstitutionFormat1(int substFormat, CoverageTable coverageTable, AlternateSetTable[] alternateSetTables)

Method Detail

doSubstitutionback to summary
public int doSubstitution(int gid, int coverageIndex)

Implements abstract org.apache.fontbox.ttf.table.common.LookupSubTable.doSubstitution.

Annotations
@Override
getAlternateSetTablesback to summary
public AlternateSetTable[] getAlternateSetTables()