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

public Class LookupTypeSingleSubstFormat1

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 1: Single Substitution Subtable. It specifically models the Single Substitution Format 1.
Author
Palash Ray

Field Summary

Modifier and TypeField and Description
private final short

Constructor Summary

AccessConstructor and Description
public
LookupTypeSingleSubstFormat1(int substFormat, CoverageTable coverageTable, short deltaGlyphID)

Method Summary

Modifier and TypeMethod and Description
public int
public short
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

deltaGlyphIDback to summary
private final short deltaGlyphID

Constructor Detail

LookupTypeSingleSubstFormat1back to summary
public LookupTypeSingleSubstFormat1(int substFormat, CoverageTable coverageTable, short deltaGlyphID)

Method Detail

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

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

Annotations
@Override
getDeltaGlyphIDback to summary
public short getDeltaGlyphID()
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