Class OpenTypeFeature

java.lang.Object
com.itextpdf.io.font.otf.OpenTypeFeature

public class OpenTypeFeature extends Object
Class storing OpenType feature records.
  • Constructor Details

    • OpenTypeFeature

      public OpenTypeFeature (OpenTypeFontTableReader openTypeReader, int locationFeatureTable) throws IOException
      Creates a new OpenType feature records.
      Parameters:
      openTypeReader - the open type reader
      locationFeatureTable - the location feature table
      Throws:
      IOException - if the OpenType data cannot be read
  • Method Details

    • getRecords

      public List<FeatureRecord> getRecords()
      Returns the records.
      Returns:
      the requested result
    • getRecord

      public FeatureRecord getRecord (int idx)
      Returns the record.
      Parameters:
      idx - the record index
      Returns:
      the requested result