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:
java.lang.Comparable
,GlyphPositioning
- Enclosing class:
- GlyphPositioningTable
private static class GlyphPositioningTable.MarkToMarkSubtableFormat1 extends GlyphPositioningTable.MarkToMarkSubtable
-
-
Field Summary
Fields Modifier and Type Field Description private GlyphPositioningTable.MarkAnchor[]
maa
private GlyphPositioningTable.Anchor[][]
mam
private GlyphCoverageTable
mct2
private int
nmc
-
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 MarkToMarkSubtableFormat1(java.lang.String id, int sequence, int flags, int format, GlyphCoverageTable coverage, java.util.List entries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List
getEntries()
GlyphPositioningTable.MarkAnchor
getMark1Anchor(int ciMark1, int giMark1)
Obtain mark 1 anchor associated with mark 1 coverage index.GlyphPositioningTable.Anchor
getMark2Anchor(int giMark2, int markClass)
Obtain anchor associated with mark 2 glyph index and mark 1 class.private void
populate(java.util.List entries)
-
Methods inherited from class org.apache.fop.complexscripts.fonts.GlyphPositioningTable.MarkToMarkSubtable
create, getType, isCompatible, position
-
Methods inherited from class org.apache.fop.complexscripts.fonts.GlyphPositioningSubtable
getTableType, getTypeName, position, position, 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 Detail
-
mct2
private GlyphCoverageTable mct2
-
nmc
private int nmc
-
maa
private GlyphPositioningTable.MarkAnchor[] maa
-
mam
private GlyphPositioningTable.Anchor[][] mam
-
-
Constructor Detail
-
MarkToMarkSubtableFormat1
MarkToMarkSubtableFormat1(java.lang.String id, int sequence, int flags, int format, GlyphCoverageTable coverage, java.util.List entries)
-
-
Method Detail
-
getEntries
public java.util.List getEntries()
- Specified by:
getEntries
in classGlyphSubtable
- Returns:
- this subtable's lookup entries
-
getMark1Anchor
public GlyphPositioningTable.MarkAnchor getMark1Anchor(int ciMark1, int giMark1)
Obtain mark 1 anchor associated with mark 1 coverage index.- Specified by:
getMark1Anchor
in 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
public GlyphPositioningTable.Anchor getMark2Anchor(int giMark2, int markClass)
Obtain anchor associated with mark 2 glyph index and mark 1 class.- Specified by:
getMark2Anchor
in classGlyphPositioningTable.MarkToMarkSubtable
markClass
- class number of mark 1 glyph- Returns:
- anchor or null if none applies
-
populate
private void populate(java.util.List entries)
-
-