Package com.itextpdf.io.font.otf
Class GsubLookupType5
- java.lang.Object
-
- com.itextpdf.io.font.otf.OpenTableLookup
-
- com.itextpdf.io.font.otf.GsubLookupType5
-
- Direct Known Subclasses:
GsubLookupType6
public class GsubLookupType5 extends OpenTableLookup
LookupType 5: Contextual Substitution Subtable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.itextpdf.io.font.otf.OpenTableLookup
OpenTableLookup.GlyphIndexer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ContextualTable<ContextualSubstRule>>
subTables
-
Fields inherited from class com.itextpdf.io.font.otf.OpenTableLookup
lookupFlag, openReader, subTableLocations
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GsubLookupType5(OpenTypeFontTableReader openReader, int lookupFlag, int[] subTableLocations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
readSubTable(int subTableLocation)
protected void
readSubTableFormat1(int subTableLocation)
protected void
readSubTableFormat2(int subTableLocation)
protected void
readSubTableFormat3(int subTableLocation)
boolean
transformOne(GlyphLine line)
-
Methods inherited from class com.itextpdf.io.font.otf.OpenTableLookup
getLookupFlag, hasSubstitution, readSubTables, transformLine
-
-
-
-
Field Detail
-
subTables
protected java.util.List<ContextualTable<ContextualSubstRule>> subTables
-
-
Constructor Detail
-
GsubLookupType5
protected GsubLookupType5(OpenTypeFontTableReader openReader, int lookupFlag, int[] subTableLocations) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
transformOne
public boolean transformOne(GlyphLine line)
- Specified by:
transformOne
in classOpenTableLookup
-
readSubTable
protected void readSubTable(int subTableLocation) throws java.io.IOException
- Specified by:
readSubTable
in classOpenTableLookup
- Throws:
java.io.IOException
-
readSubTableFormat1
protected void readSubTableFormat1(int subTableLocation) throws java.io.IOException
- Throws:
java.io.IOException
-
readSubTableFormat2
protected void readSubTableFormat2(int subTableLocation) throws java.io.IOException
- Throws:
java.io.IOException
-
readSubTableFormat3
protected void readSubTableFormat3(int subTableLocation) throws java.io.IOException
- Throws:
java.io.IOException
-
-