Class GlyphSubstitutionTable.ReverseChainedSingleSubtable
- java.lang.Object
-
- org.apache.fop.complexscripts.fonts.GlyphSubtable
-
- org.apache.fop.complexscripts.fonts.GlyphSubstitutionSubtable
-
- org.apache.fop.complexscripts.fonts.GlyphSubstitutionTable.ReverseChainedSingleSubtable
-
- All Implemented Interfaces:
java.lang.Comparable,GlyphSubstitution
- Direct Known Subclasses:
GlyphSubstitutionTable.ReverseChainedSingleSubtableFormat1
- Enclosing class:
- GlyphSubstitutionTable
private abstract static class GlyphSubstitutionTable.ReverseChainedSingleSubtable extends GlyphSubstitutionSubtable
-
-
Field Summary
-
Fields inherited from class org.apache.fop.complexscripts.fonts.GlyphSubtable
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
-
-
Constructor Summary
Constructors Constructor Description ReverseChainedSingleSubtable(java.lang.String id, int sequence, int flags, int format, GlyphCoverageTable coverage, java.util.List entries)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static GlyphSubstitutionSubtablecreate(java.lang.String id, int sequence, int flags, int format, GlyphCoverageTable coverage, java.util.List entries)intgetType()booleanisCompatible(GlyphSubtable subtable)Determine if a glyph subtable is compatible with this glyph subtable.booleanusesReverseScan()-
Methods inherited from class org.apache.fop.complexscripts.fonts.GlyphSubstitutionSubtable
getTableType, getTypeName, substitute, substitute, substitute
-
Methods inherited from class org.apache.fop.complexscripts.fonts.GlyphSubtable
compareTo, equals, getClasses, getCoverage, getCoverageIndex, getCoverageSize, getEntries, getFlags, getFlags, getFormat, getGDEF, getLookupId, getSequence, getTable, hashCode, resolveLookupReferences, setTable, usesReverseScan
-
-
-
-
Constructor Detail
-
ReverseChainedSingleSubtable
public ReverseChainedSingleSubtable(java.lang.String id, int sequence, int flags, int format, GlyphCoverageTable coverage, java.util.List entries)
-
-
Method Detail
-
getType
public int getType()
- Specified by:
getTypein classGlyphSubtable- Returns:
- this subtable's type
-
isCompatible
public boolean isCompatible(GlyphSubtable subtable)
Determine if a glyph subtable is compatible with this glyph subtable. Two glyph subtables are compatible if the both may appear in a single lookup table.- Overrides:
isCompatiblein classGlyphSubstitutionSubtable- Parameters:
subtable- a glyph subtable to determine compatibility- Returns:
- true if specified subtable is compatible with this glyph subtable, where by compatible is meant that they share the same lookup type
-
usesReverseScan
public boolean usesReverseScan()
- Overrides:
usesReverseScanin classGlyphSubstitutionSubtable- Returns:
- true if subtable uses reverse scanning of glyph sequence, meaning from the last glyph in a glyph sequence to the first glyph
-
create
static GlyphSubstitutionSubtable create(java.lang.String id, int sequence, int flags, int format, GlyphCoverageTable coverage, java.util.List entries)
-
-