Class LookupTypeSingleSubstFormat1
- java.lang.Object
-
- org.apache.fontbox.ttf.table.common.LookupSubTable
-
- org.apache.fontbox.ttf.table.gsub.LookupTypeSingleSubstFormat1
-
public class LookupTypeSingleSubstFormat1 extends 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.
-
-
Field Summary
Fields Modifier and Type Field Description private shortdeltaGlyphID
-
Constructor Summary
Constructors Constructor Description LookupTypeSingleSubstFormat1(int substFormat, CoverageTable coverageTable, short deltaGlyphID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdoSubstitution(int gid, int coverageIndex)shortgetDeltaGlyphID()java.lang.StringtoString()-
Methods inherited from class org.apache.fontbox.ttf.table.common.LookupSubTable
getCoverageTable, getSubstFormat
-
-
-
-
Constructor Detail
-
LookupTypeSingleSubstFormat1
public LookupTypeSingleSubstFormat1(int substFormat, CoverageTable coverageTable, short deltaGlyphID)
-
-
Method Detail
-
doSubstitution
public int doSubstitution(int gid, int coverageIndex)- Specified by:
doSubstitutionin classLookupSubTable
-
getDeltaGlyphID
public short getDeltaGlyphID()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-