Class GlyphPositioningTable.MarkToBaseSubtableFormat1
- java.lang.Object
-
- org.apache.fop.complexscripts.fonts.GlyphSubtable
-
- org.apache.fop.complexscripts.fonts.GlyphPositioningSubtable
-
- org.apache.fop.complexscripts.fonts.GlyphPositioningTable.MarkToBaseSubtable
-
- org.apache.fop.complexscripts.fonts.GlyphPositioningTable.MarkToBaseSubtableFormat1
-
- All Implemented Interfaces:
java.lang.Comparable,GlyphPositioning
- Enclosing class:
- GlyphPositioningTable
private static class GlyphPositioningTable.MarkToBaseSubtableFormat1 extends GlyphPositioningTable.MarkToBaseSubtable
-
-
Field Summary
Fields Modifier and Type Field Description private GlyphPositioningTable.Anchor[][]bamprivate GlyphCoverageTablebctprivate GlyphPositioningTable.MarkAnchor[]maaprivate intnmc-
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 MarkToBaseSubtableFormat1(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 GlyphPositioningTable.AnchorgetBaseAnchor(int giBase, int markClass)Obtain anchor associated with base glyph index and mark class.java.util.ListgetEntries()GlyphPositioningTable.MarkAnchorgetMarkAnchor(int ciMark, int giMark)Obtain mark anchor associated with mark coverage index.private voidpopulate(java.util.List entries)-
Methods inherited from class org.apache.fop.complexscripts.fonts.GlyphPositioningTable.MarkToBaseSubtable
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
-
bct
private GlyphCoverageTable bct
-
nmc
private int nmc
-
maa
private GlyphPositioningTable.MarkAnchor[] maa
-
bam
private GlyphPositioningTable.Anchor[][] bam
-
-
Constructor Detail
-
MarkToBaseSubtableFormat1
MarkToBaseSubtableFormat1(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:
getEntriesin classGlyphSubtable- Returns:
- this subtable's lookup entries
-
getMarkAnchor
public GlyphPositioningTable.MarkAnchor getMarkAnchor(int ciMark, int giMark)
Obtain mark anchor associated with mark coverage index.- Specified by:
getMarkAnchorin classGlyphPositioningTable.MarkToBaseSubtable- Parameters:
ciMark- coverage indexgiMark- input glyph index of mark glyph- Returns:
- mark anchor or null if none applies
-
getBaseAnchor
public GlyphPositioningTable.Anchor getBaseAnchor(int giBase, int markClass)
Obtain anchor associated with base glyph index and mark class.- Specified by:
getBaseAnchorin classGlyphPositioningTable.MarkToBaseSubtable- Parameters:
giBase- input glyph index of base glyphmarkClass- class number of mark glyph- Returns:
- anchor or null if none applies
-
populate
private void populate(java.util.List entries)
-
-