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 GlyphCoverageTable
private GlyphPositioningTable.MarkAnchor[]
private int
private int
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
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.int
Obtain maximum component count.private void
Methods inherited from class org.apache.fop.complexscripts.fonts.GlyphPositioningTable.MarkToLigatureSubtable
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 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:
getEntries
in classGlyphSubtable
- Returns:
- this subtable's lookup entries
-
getMarkAnchor
Obtain mark anchor associated with mark coverage index.- Specified by:
getMarkAnchor
in 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:
getMaxComponentCount
in 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:
getLigatureAnchor
in 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
-