Package com.itextpdf.io.font.otf
Class GsubLookupType2
- java.lang.Object
-
- com.itextpdf.io.font.otf.OpenTableLookup
-
- com.itextpdf.io.font.otf.GsubLookupType2
-
public class GsubLookupType2 extends OpenTableLookup
LookupType 2: Multiple 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 private java.util.Map<java.lang.Integer,int[]>
substMap
-
Fields inherited from class com.itextpdf.io.font.otf.OpenTableLookup
lookupFlag, openReader, subTableLocations
-
-
Constructor Summary
Constructors Constructor Description GsubLookupType2(OpenTypeFontTableReader openReader, int lookupFlag, int[] subTableLocations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasSubstitution(int index)
protected void
readSubTable(int subTableLocation)
boolean
transformOne(GlyphLine line)
-
Methods inherited from class com.itextpdf.io.font.otf.OpenTableLookup
getLookupFlag, readSubTables, transformLine
-
-
-
-
Constructor Detail
-
GsubLookupType2
public GsubLookupType2(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
-
hasSubstitution
public boolean hasSubstitution(int index)
- Overrides:
hasSubstitution
in classOpenTableLookup
-
-