public abstract class GlyphDefinitionSubtable extends GlyphSubtable implements GlyphDefinition
The GlyphDefinitionSubtable
implements an abstract base of a glyph definition subtable,
providing a default implementation of the GlyphDefinition
interface.
This work was originally authored by Glenn Adams (gadams@apache.org).
LF_IGNORE_BASE, LF_IGNORE_LIGATURE, LF_IGNORE_MARK, LF_INTERNAL_USE_REVERSE_SCAN, LF_MARK_ATTACHMENT_TYPE, LF_RESERVED, LF_RIGHT_TO_LEFT, LF_USE_MARK_FILTERING_SET
Modifier | Constructor and Description |
---|---|
protected |
GlyphDefinitionSubtable(java.lang.String id,
int sequence,
int flags,
int format,
GlyphMappingTable mapping)
Instantiate a
GlyphDefinitionSubtable . |
Modifier and Type | Method and Description |
---|---|
int |
getTableType() |
java.lang.String |
getTypeName() |
boolean |
hasDefinition(int gi)
Determine if some definition is available for a specific glyph.
|
boolean |
usesReverseScan() |
compareTo, equals, getClasses, getCoverage, getCoverageIndex, getCoverageSize, getEntries, getFlags, getFlags, getFormat, getGDEF, getLookupId, getSequence, getTable, getType, hashCode, isCompatible, resolveLookupReferences, setTable, usesReverseScan
protected GlyphDefinitionSubtable(java.lang.String id, int sequence, int flags, int format, GlyphMappingTable mapping)
GlyphDefinitionSubtable
.id
- subtable identifiersequence
- subtable sequenceflags
- subtable flagsformat
- subtable formatmapping
- subtable coverage tablepublic int getTableType()
getTableType
in class GlyphSubtable
public java.lang.String getTypeName()
getTypeName
in class GlyphSubtable
public boolean usesReverseScan()
usesReverseScan
in class GlyphSubtable
public boolean hasDefinition(int gi)
hasDefinition
in interface GlyphDefinition
gi
- a glyph indexCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.