Class GlyphSubstitutionTable.LigatureSubtableFormat1
java.lang.Object
org.apache.fop.complexscripts.fonts.GlyphSubtable
org.apache.fop.complexscripts.fonts.GlyphSubstitutionSubtable
org.apache.fop.complexscripts.fonts.GlyphSubstitutionTable.LigatureSubtable
org.apache.fop.complexscripts.fonts.GlyphSubstitutionTable.LigatureSubtableFormat1
- All Implemented Interfaces:
Comparable
,GlyphSubstitution
- Enclosing class:
- GlyphSubstitutionTable
private static class GlyphSubstitutionTable.LigatureSubtableFormat1
extends GlyphSubstitutionTable.LigatureSubtable
-
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
ConstructorsConstructorDescriptionLigatureSubtableFormat1
(String id, int sequence, int flags, int format, GlyphCoverageTable coverage, List entries) -
Method Summary
Modifier and TypeMethodDescriptiongetLigatureSetForCoverageIndex
(int ci, int gi) Obtain ligature set for coverage index.private void
Methods inherited from class org.apache.fop.complexscripts.fonts.GlyphSubstitutionTable.LigatureSubtable
create, getType, isCompatible, substitute
Methods inherited from class org.apache.fop.complexscripts.fonts.GlyphSubstitutionSubtable
getTableType, getTypeName, substitute, substitute, usesReverseScan
Methods 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
-
ligatureSets
-
-
Constructor Details
-
LigatureSubtableFormat1
public LigatureSubtableFormat1(String id, int sequence, int flags, int format, GlyphCoverageTable coverage, List entries)
-
-
Method Details
-
getEntries
- Specified by:
getEntries
in classGlyphSubtable
- Returns:
- this subtable's lookup entries
-
getLigatureSetForCoverageIndex
public GlyphSubstitutionTable.LigatureSet getLigatureSetForCoverageIndex(int ci, int gi) throws IllegalArgumentException Obtain ligature set for coverage index.- Specified by:
getLigatureSetForCoverageIndex
in classGlyphSubstitutionTable.LigatureSubtable
- Parameters:
ci
- coverage indexgi
- original glyph index- Returns:
- ligature set (or null if none defined)
- Throws:
IllegalArgumentException
- if coverage index is not valid
-
populate
-