Package com.itextpdf.io.font.otf
Class OtfReadCommon
java.lang.Object
com.itextpdf.io.font.otf.OtfReadCommon
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GposAnchor[]
readAnchorArray
(OpenTypeFontTableReader tableReader, int[] locations, int left, int right) static List<GposAnchor[]>
readBaseArray
(OpenTypeFontTableReader tableReader, int classCount, int location) readCoverageFormat
(RandomAccessFileOrArray rf, int coverageLocation) static void
readCoverages
(RandomAccessFileOrArray rf, int[] locations, List<Set<Integer>> coverage) static GposAnchor
readGposAnchor
(OpenTypeFontTableReader tableReader, int location) static GposValueRecord
readGposValueRecord
(OpenTypeFontTableReader tableReader, int mask) static List<List<GposAnchor[]>>
readLigatureArray
(OpenTypeFontTableReader tableReader, int classCount, int location) static List<OtfMarkRecord>
readMarkArray
(OpenTypeFontTableReader tableReader, int location) static PosLookupRecord[]
readPosLookupRecords
(RandomAccessFileOrArray rf, int recordCount) static SubstLookupRecord[]
readSubstLookupRecords
(RandomAccessFileOrArray rf, int substCount) static int[]
readUShortArray
(RandomAccessFileOrArray rf, int size) static int[]
readUShortArray
(RandomAccessFileOrArray rf, int size, int location)
-
Constructor Details
-
OtfReadCommon
public OtfReadCommon()
-
-
Method Details
-
readUShortArray
public static int[] readUShortArray(RandomAccessFileOrArray rf, int size, int location) throws IOException - Throws:
-
IOException
-
readUShortArray
- Throws:
-
IOException
-
readCoverages
public static void readCoverages(RandomAccessFileOrArray rf, int[] locations, List<Set<Integer>> coverage) throws IOException - Throws:
-
IOException
-
readCoverageFormat
public static List<Integer> readCoverageFormat(RandomAccessFileOrArray rf, int coverageLocation) throws IOException - Throws:
-
IOException
-
readGposValueRecord
public static GposValueRecord readGposValueRecord(OpenTypeFontTableReader tableReader, int mask) throws IOException - Throws:
-
IOException
-
readGposAnchor
public static GposAnchor readGposAnchor(OpenTypeFontTableReader tableReader, int location) throws IOException - Throws:
-
IOException
-
readMarkArray
public static List<OtfMarkRecord> readMarkArray(OpenTypeFontTableReader tableReader, int location) throws IOException - Throws:
-
IOException
-
readSubstLookupRecords
public static SubstLookupRecord[] readSubstLookupRecords(RandomAccessFileOrArray rf, int substCount) throws IOException - Throws:
-
IOException
-
readPosLookupRecords
public static PosLookupRecord[] readPosLookupRecords(RandomAccessFileOrArray rf, int recordCount) throws IOException - Throws:
-
IOException
-
readAnchorArray
public static GposAnchor[] readAnchorArray(OpenTypeFontTableReader tableReader, int[] locations, int left, int right) throws IOException - Throws:
-
IOException
-
readBaseArray
public static List<GposAnchor[]> readBaseArray(OpenTypeFontTableReader tableReader, int classCount, int location) throws IOException - Throws:
-
IOException
-
readLigatureArray
public static List<List<GposAnchor[]>> readLigatureArray(OpenTypeFontTableReader tableReader, int classCount, int location) throws IOException - Throws:
-
IOException
-