Class GlyphSubstitutionTable.MultipleSubtableFormat1
java.lang.Object
org.apache.fop.complexscripts.fonts.GlyphSubtable
org.apache.fop.complexscripts.fonts.GlyphSubstitutionSubtable
org.apache.fop.complexscripts.fonts.GlyphSubstitutionTable.MultipleSubtable
org.apache.fop.complexscripts.fonts.GlyphSubstitutionTable.MultipleSubtableFormat1
- All Implemented Interfaces:
Comparable,GlyphSubstitution
- Enclosing class:
GlyphSubstitutionTable
private static class GlyphSubstitutionTable.MultipleSubtableFormat1
extends GlyphSubstitutionTable.MultipleSubtable
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionMultipleSubtableFormat1(String id, int sequence, int flags, int format, GlyphCoverageTable coverage, List entries) -
Method Summary
Modifier and TypeMethodDescriptionint[]getGlyphsForCoverageIndex(int ci, int gi) Obtain glyph sequence for coverage index.private voidMethods inherited from class org.apache.fop.complexscripts.fonts.GlyphSubstitutionTable.MultipleSubtable
create, getType, isCompatible, substituteMethods inherited from class org.apache.fop.complexscripts.fonts.GlyphSubstitutionSubtable
getTableType, getTypeName, substitute, substitute, usesReverseScanMethods inherited from class org.apache.fop.complexscripts.fonts.GlyphSubtable
compareTo, equals, getClasses, getCoverage, getCoverageIndex, getCoverageSize, getFlags, getFlags, getFormat, getGDEF, getLookupId, getSequence, getTable, hashCode, resolveLookupReferences, setTable, usesReverseScan
-
Field Details
-
gsa
private int[][] gsa
-
-
Constructor Details
-
MultipleSubtableFormat1
MultipleSubtableFormat1(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
-
getGlyphsForCoverageIndex
Obtain glyph sequence for coverage index.- Specified by:
getGlyphsForCoverageIndexin classGlyphSubstitutionTable.MultipleSubtable- Parameters:
ci- coverage indexgi- original glyph index- Returns:
- sequence of glyphs to substitute for input glyph
- Throws:
IllegalArgumentException- if coverage index is not valid
-
populate
-