Class GlyphPositioningTable.MarkToMarkSubtableFormat1
java.lang.Object
org.apache.fop.complexscripts.fonts.GlyphSubtable
org.apache.fop.complexscripts.fonts.GlyphPositioningSubtable
org.apache.fop.complexscripts.fonts.GlyphPositioningTable.MarkToMarkSubtable
org.apache.fop.complexscripts.fonts.GlyphPositioningTable.MarkToMarkSubtableFormat1
- All Implemented Interfaces:
Comparable, GlyphPositioning
- Enclosing class:
GlyphPositioningTable
private static class GlyphPositioningTable.MarkToMarkSubtableFormat1
extends GlyphPositioningTable.MarkToMarkSubtable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate GlyphPositioningTable.MarkAnchor[]private GlyphPositioningTable.Anchor[][]private GlyphCoverageTableprivate intFields 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
ConstructorsConstructorDescriptionMarkToMarkSubtableFormat1(String id, int sequence, int flags, int format, GlyphCoverageTable coverage, List entries) -
Method Summary
Modifier and TypeMethodDescriptiongetMark1Anchor(int ciMark1, int giMark1) Obtain mark 1 anchor associated with mark 1 coverage index.getMark2Anchor(int giMark2, int markClass) Obtain anchor associated with mark 2 glyph index and mark 1 class.private voidMethods inherited from class GlyphPositioningTable.MarkToMarkSubtable
create, getType, isCompatible, positionMethods inherited from class GlyphPositioningSubtable
getTableType, getTypeName, position, position, usesReverseScanMethods inherited from class GlyphSubtable
compareTo, equals, getClasses, getCoverage, getCoverageIndex, getCoverageSize, getFlags, getFlags, getFormat, getGDEF, getLookupId, getSequence, getTable, hashCode, resolveLookupReferences, setTable, usesReverseScan
-
Field Details
-
mct2
-
nmc
private int nmc -
maa
-
mam
-
-
Constructor Details
-
MarkToMarkSubtableFormat1
MarkToMarkSubtableFormat1(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
-
getMark1Anchor
Obtain mark 1 anchor associated with mark 1 coverage index.- Specified by:
getMark1Anchorin classGlyphPositioningTable.MarkToMarkSubtable- Parameters:
ciMark1- mark 1 coverage indexgiMark1- input glyph index of mark 1 glyph- Returns:
- mark 1 anchor or null if none applies
-
getMark2Anchor
Obtain anchor associated with mark 2 glyph index and mark 1 class.- Specified by:
getMark2Anchorin classGlyphPositioningTable.MarkToMarkSubtable- Parameters:
markClass- class number of mark 1 glyph- Returns:
- anchor or null if none applies
-
populate
-