|
iText 9.8.0 API
|
A Lookup table defines the specific conditions, type, and results of substitution or positioning actions that are used to implement a feature. More...
Classes |
|
| class | GlyphIndexer |
| Utility class to iterate over GlyphLine. More... |
|
Public Member Functions |
|
| virtual int | GetLookupFlag () |
| Gets the lookup flag. More... |
|
| abstract bool | TransformOne (GlyphLine line) |
| Apply transformation to only one glyph from the glyph line. More... |
|
| virtual bool | TransformLine (GlyphLine line) |
| Apply transformation to the glyph line. More... |
|
| virtual bool | HasSubstitution (int index) |
Checks whether there is a substitution (replacement) for the specified index in this lookup table. More... |
|
| virtual int | GetIndexInLookupList () |
Gets this lookup table index in the LookupList. More... |
|
| virtual void | SetIndexInLookupList (int indexInLookupList) |
| Sets lookup table index in the LookupList. More... |
|
Package Functions |
|
| OpenTableLookup (OpenTypeFontTableReader openReader, int lookupFlag, int[] subTableLocations) | |
| Instantiates a new instance of OpenTableLookup. More... |
|
| virtual void | ReadSubTables () |
| Reads subtables. More... |
|
| abstract void | ReadSubTable (int subTableLocation) |
| Reads subtable from the specified location. More... |
|
Package Attributes |
|
| int | lookupFlag |
| Indicates to a text-processing client certain processing options to use when substituting or positioning glyphs. More... |
|
| int[] | subTableLocations |
| Subtables locations. More... |
|
| OpenTypeFontTableReader | openReader |
| OpenType font table reader. More... |
|
A Lookup table defines the specific conditions, type, and results of substitution or positioning actions that are used to implement a feature.
A Lookup table defines the specific conditions, type, and results of substitution or positioning actions that are used to implement a feature.
The data describing the actions of a lookup are contained in one or more lookup subtables. Different lookup types support different types of operation; for example, positioning adjustment on a single glyph versus positioning adjustments on pairs of glyphs.
For more information see Lookup table
|
inlinepackage |
Instantiates a new instance of OpenTableLookup.
| openReader | the OpenType font table reader |
| lookupFlag | specifies processing options, e.g. whether to skip base glyphs, marks or ligatures during glyph substitution or positioning. See Lookup table |
| subTableLocations | the subtables locations |
|
inlinevirtual |
Gets this lookup table index in the LookupList.
|
inlinevirtual |
Gets the lookup flag.
Gets the lookup flag.
The flag indicates to a text-processing client certain processing options to use when substituting or positioning glyphs. e.g. whether to skip base glyphs, marks or ligatures during glyph substitution or positioning. See Lookup table
|
inlinevirtual |
Checks whether there is a substitution (replacement) for the specified index in this lookup table.
| index | the index to check for a substitution |
true if there is substitution, false otherwise
Reimplemented in iText.IO.Font.Otf.GsubLookupType1, iText.IO.Font.Otf.GsubLookupType2, and iText.IO.Font.Otf.GsubLookupType3.
|
packagepure virtual |
Reads subtable from the specified location.
| subTableLocation | the subtable location |
Implemented in iText.IO.Font.Otf.GposLookupType5, iText.IO.Font.Otf.GposLookupType6, iText.IO.Font.Otf.GposLookupType4, iText.IO.Font.Otf.GposLookupType7, iText.IO.Font.Otf.GsubLookupType4, iText.IO.Font.Otf.GsubLookupType5, iText.IO.Font.Otf.GposLookupType1, iText.IO.Font.Otf.GsubLookupType2, iText.IO.Font.Otf.GposLookupType2, iText.IO.Font.Otf.GsubLookupType1, iText.IO.Font.Otf.GsubLookupType3, and iText.IO.Font.Otf.GposLookupType8.
|
inlinepackagevirtual |
Reads subtables.
|
inlinevirtual |
Sets lookup table index in the LookupList.
| indexInLookupList | the table index in the LookupList |
|
inlinevirtual |
Apply transformation to the glyph line.
| line | the glyph line to transform |
true if transformation was applied, false otherwise
|
pure virtual |
Apply transformation to only one glyph from the glyph line.
| line | the glyph line to transform |
true if transformation was applied, false otherwise
Implemented in iText.IO.Font.Otf.GposLookupType7, iText.IO.Font.Otf.GsubLookupType4, iText.IO.Font.Otf.GsubLookupType5, iText.IO.Font.Otf.GposLookupType4, iText.IO.Font.Otf.GposLookupType5, iText.IO.Font.Otf.GposLookupType6, iText.IO.Font.Otf.GposLookupType2, iText.IO.Font.Otf.GsubLookupType1, iText.IO.Font.Otf.GsubLookupType2, iText.IO.Font.Otf.GposLookupType1, and iText.IO.Font.Otf.GsubLookupType3.
|
package |
Indicates to a text-processing client certain processing options to use when substituting or positioning glyphs.
|
package |
OpenType font table reader.
|
package |
Subtables locations.