class LookupTypeSingleSubstFormat1 extends LookupSubTable
{
    private final short deltaGlyphID;

    public LookupTypeSingleSubstFormat1(int substFormat, CoverageTable coverageTable,
            short deltaGlyphID)
    {
        super(substFormat, coverageTable);
        this.deltaGlyphID = deltaGlyphID;
    }

    @Override
    public int doSubstitution(int gid, int coverageIndex)
    {<FILL_FUNCTION_BODY>}

    public short getDeltaGlyphID()
    {
        return deltaGlyphID;
    }

    @Override
    public String toString()
    {
        return String.format("LookupTypeSingleSubstFormat1[substFormat=%d,deltaGlyphID=%d]",
                getSubstFormat(), deltaGlyphID);
    }
}

        return coverageIndex < 0 ? gid : gid + deltaGlyphID;
    
<methods>public void <init>(int, org.apache.fontbox.ttf.table.common.CoverageTable) ,public abstract int doSubstitution(int, int) ,public org.apache.fontbox.ttf.table.common.CoverageTable getCoverageTable() ,public int getSubstFormat() <variables>private final non-sealed org.apache.fontbox.ttf.table.common.CoverageTable coverageTable,private final non-sealed int substFormat