Class GsubLookupType1

java.lang.Object
com.itextpdf.io.font.otf.OpenTableLookup
com.itextpdf.io.font.otf.GsubLookupType1

public class GsubLookupType1 extends OpenTableLookup
  • Constructor Details

  • Method Details

    • transformOne

      public boolean transformOne (GlyphLine line)
      Description copied from class: OpenTableLookup
      Apply transformation to only one glyph from the glyph line.
      Specified by:
      transformOne in class OpenTableLookup
      Parameters:
      line - the glyph line to transform
      Returns:
      true if transformation was applied, false otherwise
    • readSubTable

      protected void readSubTable (int subTableLocation) throws IOException
      Description copied from class: OpenTableLookup
      Reads subtable from the specified location.
      Specified by:
      readSubTable in class OpenTableLookup
      Parameters:
      subTableLocation - the subtable location
      Throws:
      IOException - exception is thrown in case an I/O error occurs when reading subtable
    • hasSubstitution

      public boolean hasSubstitution (int index)
      Description copied from class: OpenTableLookup
      Checks whether there is a substitution (replacement) for the specified index in this lookup table.
      Overrides:
      hasSubstitution in class OpenTableLookup
      Parameters:
      index - the index to check for a substitution
      Returns:
      true if there is substitution, false otherwise