public abstract class OpenTypeFontTableReader extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected OpenTypeFeature |
featuresType |
protected List<OpenTableLookup> |
lookupList |
protected RandomAccessFileOrArray |
rf |
protected OpenTypeScript |
scriptsType |
protected int |
tableLocation |
Modifier | Constructor and Description |
---|---|
protected |
OpenTypeFontTableReader(RandomAccessFileOrArray rf, int tableLocation, OpenTypeGdefTableReader gdef, Map<Integer,Glyph> indexGlyphMap, int unitsPerEm) |
protected final RandomAccessFileOrArray rf
protected final int tableLocation
protected List<OpenTableLookup> lookupList
protected OpenTypeScript scriptsType
protected OpenTypeFeature featuresType
protected OpenTypeFontTableReader(RandomAccessFileOrArray rf, int tableLocation, OpenTypeGdefTableReader gdef, Map<Integer,Glyph> indexGlyphMap, int unitsPerEm) throws IOException
IOException
public Glyph getGlyph(int index)
public OpenTableLookup getLookupTable(int idx)
public List<ScriptRecord> getScriptRecords()
public List<FeatureRecord> getFeatureRecords()
public List<FeatureRecord> getFeatures(String[] scripts, String language)
public List<FeatureRecord> getSpecificFeatures(List<FeatureRecord> features, String[] specific)
public FeatureRecord getRequiredFeature(String[] scripts, String language)
public List<OpenTableLookup> getLookups(FeatureRecord[] features)
public List<OpenTableLookup> getLookups(FeatureRecord feature)
public boolean isSkip(int glyph, int flag)
public int getGlyphClass(int glyphCode)
public int getUnitsPerEm()
public LanguageRecord getLanguageRecord(String otfScriptTag)
public LanguageRecord getLanguageRecord(String otfScriptTag, String langTag)
protected abstract OpenTableLookup readLookupTable(int lookupType, int lookupFlag, int[] subTableLocations) throws IOException
IOException
protected final OtfClass readClassDefinition(int classLocation) throws IOException
IOException
protected final int[] readUShortArray(int size, int location) throws IOException
IOException
protected final int[] readUShortArray(int size) throws IOException
IOException
protected void readCoverages(int[] locations, List<Set<Integer>> coverage) throws IOException
IOException
protected final List<Integer> readCoverageFormat(int coverageLocation) throws IOException
IOException
protected SubstLookupRecord[] readSubstLookupRecords(int substCount) throws IOException
IOException
protected PosLookupRecord[] readPosLookupRecords(int substCount) throws IOException
IOException
protected TagAndLocation[] readTagAndLocations(int baseLocation) throws IOException
IOException
Copyright © 1998–2021 iText Group NV. All rights reserved.