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