Package com.itextpdf.io.font.otf
Class GposLookupType7
java.lang.Object
com.itextpdf.io.font.otf.OpenTableLookup
com.itextpdf.io.font.otf.GposLookupType7
- Direct Known Subclasses:
-
GposLookupType8
Lookup Type 7: Contextual Positioning Subtables
-
Nested Class Summary
Nested classes/interfaces inherited from class com.itextpdf.io.font.otf.OpenTableLookup
OpenTableLookup.GlyphIndexer -
Field Summary
FieldsFields inherited from class com.itextpdf.io.font.otf.OpenTableLookup
lookupFlag, openReader, subTableLocations -
Constructor Summary
ConstructorsConstructorDescriptionGposLookupType7(OpenTypeFontTableReader openReader, int lookupFlag, int[] subTableLocations) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidreadSubTable(int subTableLocation) Reads subtable from the specified location.protected voidreadSubTableFormat2(int subTableLocation) booleantransformOne(GlyphLine line) Apply transformation to only one glyph from the glyph line.Methods inherited from class com.itextpdf.io.font.otf.OpenTableLookup
getIndexInLookupList, getLookupFlag, hasSubstitution, readSubTables, setIndexInLookupList, transformLine
-
Field Details
-
subTables
-
-
Constructor Details
-
GposLookupType7
public GposLookupType7(OpenTypeFontTableReader openReader, int lookupFlag, int[] subTableLocations) throws IOException - Throws:
-
IOException
-
-
Method Details
-
transformOne
Description copied from class:OpenTableLookupApply transformation to only one glyph from the glyph line.- Specified by:
-
transformOnein classOpenTableLookup - Parameters:
-
line- the glyph line to transform - Returns:
-
trueif transformation was applied,falseotherwise
-
readSubTable
Description copied from class:OpenTableLookupReads subtable from the specified location.- Specified by:
-
readSubTablein classOpenTableLookup - Parameters:
-
subTableLocation- the subtable location - Throws:
-
IOException- exception is thrown in case an I/O error occurs when reading subtable
-
readSubTableFormat2
- Throws:
-
IOException
-