Class GlyphSubstitutionTable.SingleSubtableFormat2
java.lang.Object
org.apache.fop.complexscripts.fonts.GlyphSubtable
org.apache.fop.complexscripts.fonts.GlyphSubstitutionSubtable
org.apache.fop.complexscripts.fonts.GlyphSubstitutionTable.SingleSubtable
org.apache.fop.complexscripts.fonts.GlyphSubstitutionTable.SingleSubtableFormat2
- All Implemented Interfaces:
Comparable, GlyphSubstitution
- Enclosing class:
GlyphSubstitutionTable
private static class GlyphSubstitutionTable.SingleSubtableFormat2
extends GlyphSubstitutionTable.SingleSubtable
-
Field Summary
FieldsFields inherited from class 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
ConstructorsConstructorDescriptionSingleSubtableFormat2(String id, int sequence, int flags, int format, GlyphCoverageTable coverage, List entries) -
Method Summary
Modifier and TypeMethodDescriptionintgetGlyphForCoverageIndex(int ci, int gi) Obtain glyph for coverage index.private voidMethods inherited from class GlyphSubstitutionTable.SingleSubtable
create, getType, isCompatible, substituteMethods inherited from class GlyphSubstitutionSubtable
getTableType, getTypeName, substitute, substitute, usesReverseScanMethods inherited from class GlyphSubtable
compareTo, equals, getClasses, getCoverage, getCoverageIndex, getCoverageSize, getFlags, getFlags, getFormat, getGDEF, getLookupId, getSequence, getTable, hashCode, resolveLookupReferences, setTable, usesReverseScan
-
Field Details
-
glyphs
private int[] glyphs
-
-
Constructor Details
-
SingleSubtableFormat2
SingleSubtableFormat2(String id, int sequence, int flags, int format, GlyphCoverageTable coverage, List entries)
-
-
Method Details
-
getEntries
- Specified by:
getEntriesin classGlyphSubtable- Returns:
- this subtable's lookup entries
-
getGlyphForCoverageIndex
Obtain glyph for coverage index.- Specified by:
getGlyphForCoverageIndexin classGlyphSubstitutionTable.SingleSubtable- Parameters:
ci- coverage indexgi- original glyph index- Returns:
- substituted glyph value
- Throws:
IllegalArgumentException- if coverage index is not valid
-
populate
-