Package com.itextpdf.io.font.otf
Class GsubLookupType4
- java.lang.Object
-
- com.itextpdf.io.font.otf.OpenTableLookup
-
- com.itextpdf.io.font.otf.GsubLookupType4
-
public class GsubLookupType4 extends OpenTableLookup
LookupType 4: Ligature 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,java.util.List<int[]>>ligaturesThe key is the first character.-
Fields inherited from class com.itextpdf.io.font.otf.OpenTableLookup
lookupFlag, openReader, subTableLocations
-
-
Constructor Summary
Constructors Constructor Description GsubLookupType4(OpenTypeFontTableReader openReader, int lookupFlag, int[] subTableLocations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidreadSubTable(int subTableLocation)booleantransformOne(GlyphLine line)-
Methods inherited from class com.itextpdf.io.font.otf.OpenTableLookup
getLookupFlag, hasSubstitution, readSubTables, transformLine
-
-
-
-
Constructor Detail
-
GsubLookupType4
public GsubLookupType4(OpenTypeFontTableReader openReader, int lookupFlag, int[] subTableLocations) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
transformOne
public boolean transformOne(GlyphLine line)
- Specified by:
transformOnein classOpenTableLookup
-
readSubTable
protected void readSubTable(int subTableLocation) throws java.io.IOException- Specified by:
readSubTablein classOpenTableLookup- Throws:
java.io.IOException
-
-