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 resolveInvalidFontExceptionpublic boolean featureIsPresent(int featureTag)
throws InvalidFontException
InvalidFontExceptionpublic int applyLookups(int[] lookupOffsets,
AttributedRun run,
int start,
int limit,
OTSelector selector,
Gdef gdef)
throws InvalidFontException
InvalidFontExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved