Class GlyphPositioningTable.MarkToLigatureSubtableFormat1
java.lang.Object
org.apache.fop.complexscripts.fonts.GlyphSubtable
org.apache.fop.complexscripts.fonts.GlyphPositioningSubtable
org.apache.fop.complexscripts.fonts.GlyphPositioningTable.MarkToLigatureSubtable
org.apache.fop.complexscripts.fonts.GlyphPositioningTable.MarkToLigatureSubtableFormat1
- All Implemented Interfaces:
Comparable, GlyphPositioning
- Enclosing class:
GlyphPositioningTable
private static class GlyphPositioningTable.MarkToLigatureSubtableFormat1
extends GlyphPositioningTable.MarkToLigatureSubtable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate GlyphPositioningTable.Anchor[][][]private GlyphCoverageTableprivate GlyphPositioningTable.MarkAnchor[]private intprivate 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
ConstructorsConstructorDescriptionMarkToLigatureSubtableFormat1(String id, int sequence, int flags, int format, GlyphCoverageTable coverage, List entries) -
Method Summary
Modifier and TypeMethodDescriptiongetLigatureAnchor(int giLig, int maxComponents, int component, int markClass) Obtain anchor associated with ligature glyph index and mark class.getMarkAnchor(int ciMark, int giMark) Obtain mark anchor associated with mark coverage index.intObtain maximum component count.private voidMethods inherited from class GlyphPositioningTable.MarkToLigatureSubtable
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
-
lct
-
nmc
private int nmc -
mxc
private int mxc -
maa
-
lam
-
-
Constructor Details
-
MarkToLigatureSubtableFormat1
MarkToLigatureSubtableFormat1(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
-
getMarkAnchor
Obtain mark anchor associated with mark coverage index.- Specified by:
getMarkAnchorin classGlyphPositioningTable.MarkToLigatureSubtable- Parameters:
ciMark- coverage indexgiMark- input glyph index of mark glyph- Returns:
- mark anchor or null if none applies
-
getMaxComponentCount
public int getMaxComponentCount()Obtain maximum component count.- Specified by:
getMaxComponentCountin classGlyphPositioningTable.MarkToLigatureSubtable- Returns:
- maximum component count (>=0)
-
getLigatureAnchor
public GlyphPositioningTable.Anchor getLigatureAnchor(int giLig, int maxComponents, int component, int markClass) Obtain anchor associated with ligature glyph index and mark class.- Specified by:
getLigatureAnchorin classGlyphPositioningTable.MarkToLigatureSubtable- Parameters:
giLig- input glyph index of ligature glyphmaxComponents- maximum component countcomponent- component number (0...maxComponents-1)markClass- class number of mark glyph- Returns:
- anchor or null if none applies
-
populate
-