Class GlyphDefinitionTable.MarkAttachmentSubtable
- java.lang.Object
-
- org.apache.fop.complexscripts.fonts.GlyphSubtable
-
- org.apache.fop.complexscripts.fonts.GlyphDefinitionSubtable
-
- org.apache.fop.complexscripts.fonts.GlyphDefinitionTable.MarkAttachmentSubtable
-
- All Implemented Interfaces:
java.lang.Comparable
,GlyphDefinition
- Direct Known Subclasses:
GlyphDefinitionTable.MarkAttachmentSubtableFormat1
- Enclosing class:
- GlyphDefinitionTable
private abstract static class GlyphDefinitionTable.MarkAttachmentSubtable extends GlyphDefinitionSubtable
-
-
Field Summary
-
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 MarkAttachmentSubtable(java.lang.String id, int sequence, int flags, int format, GlyphMappingTable mapping, java.util.List entries)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) static GlyphDefinitionSubtable
create(java.lang.String id, int sequence, int flags, int format, GlyphMappingTable mapping, java.util.List entries)
abstract int
getMarkAttachClass(int gid)
Determine mark attachment class.int
getType()
abstract boolean
isMarkAttachClass(int gid, int mac)
Determine if glyph belongs to (font specific) mark attachment class.-
Methods inherited from class org.apache.fop.complexscripts.fonts.GlyphDefinitionSubtable
getTableType, getTypeName, hasDefinition, usesReverseScan
-
Methods inherited from class org.apache.fop.complexscripts.fonts.GlyphSubtable
compareTo, equals, getClasses, getCoverage, getCoverageIndex, getCoverageSize, getEntries, getFlags, getFlags, getFormat, getGDEF, getLookupId, getSequence, getTable, hashCode, isCompatible, resolveLookupReferences, setTable, usesReverseScan
-
-
-
-
Constructor Detail
-
MarkAttachmentSubtable
MarkAttachmentSubtable(java.lang.String id, int sequence, int flags, int format, GlyphMappingTable mapping, java.util.List entries)
-
-
Method Detail
-
getType
public int getType()
- Specified by:
getType
in classGlyphSubtable
- Returns:
- this subtable's type
-
isMarkAttachClass
public abstract boolean isMarkAttachClass(int gid, int mac)
Determine if glyph belongs to (font specific) mark attachment class.- Parameters:
gid
- a glyph identifier (index)mac
- a (font specific) mark attachment class- Returns:
- true if glyph belongs to specified mark attachment class
-
getMarkAttachClass
public abstract int getMarkAttachClass(int gid)
Determine mark attachment class.- Parameters:
gid
- a glyph identifier (index)- Returns:
- a non-negative mark attachment class, or -1 if no class defined
-
create
static GlyphDefinitionSubtable create(java.lang.String id, int sequence, int flags, int format, GlyphMappingTable mapping, java.util.List entries)
-
-