public abstract class LookupTable extends LayoutTable
Constructor and Description |
---|
LookupTable(FontByteArray buffer) |
Modifier and Type | Method and Description |
---|---|
int |
applyLookups(int[] lookupOffsets,
AttributedRun run,
int start,
int limit,
OTSelector selector,
Gdef gdef) |
boolean |
featureIsPresent(int featureTag) |
int[][] |
resolveFeatureTag(int scriptTag,
int langSysTag,
int[] featureTags)
Resolves a script/lang/feature list to a set of lookup offsets.
|
public LookupTable(FontByteArray buffer) throws IOException, InvalidFontException, UnsupportedFontException
public int[][] resolveFeatureTag(int scriptTag, int langSysTag, int[] featureTags) throws InvalidFontException
Tag.feature_REQUIRED
.scriptTag
- the script under which to resolve the featurelangSysTag
- the langage under which to resolve the featurefeatureTags
- the features to resolveInvalidFontException
public boolean featureIsPresent(int featureTag) throws InvalidFontException
InvalidFontException
public int applyLookups(int[] lookupOffsets, AttributedRun run, int start, int limit, OTSelector selector, Gdef gdef) throws InvalidFontException
InvalidFontException
Copyright © 2010 - 2020 Adobe. All Rights Reserved