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

public Class LookupTypeLigatureSubstitutionSubstFormat1

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

This class is a part of the GSUB — Glyph Substitution Table system of tables in the Open Type Font specs. This is a part of the LookupType 4: Ligature Substitution Subtable. It specifically models the Ligature Substitution Format 1.
Author
Palash Ray

Field Summary

Modifier and TypeField and Description
private final LigatureSetTable[]

Constructor Summary

AccessConstructor and Description
public
LookupTypeLigatureSubstitutionSubstFormat1(int substFormat, CoverageTable coverageTable, LigatureSetTable[] ligatureSetTables)

Method Summary

Modifier and TypeMethod and Description
public int
public LigatureSetTable[]
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.apache.fontbox.ttf.table.common.LookupSubTable:
getCoverageTablegetSubstFormat

Field Detail

ligatureSetTablesback to summary
private final LigatureSetTable[] ligatureSetTables

Constructor Detail

LookupTypeLigatureSubstitutionSubstFormat1back to summary
public LookupTypeLigatureSubstitutionSubstFormat1(int substFormat, CoverageTable coverageTable, LigatureSetTable[] ligatureSetTables)

Method Detail

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

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

Annotations
@Override
getLigatureSetTablesback to summary
public LigatureSetTable[] getLigatureSetTables()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override