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:
Comparable, GlyphDefinition
Direct Known Subclasses:
GlyphDefinitionTable.MarkAttachmentSubtableFormat1
Enclosing class:
GlyphDefinitionTable

private abstract static class GlyphDefinitionTable.MarkAttachmentSubtable extends GlyphDefinitionSubtable
  • Constructor Details

    • MarkAttachmentSubtable

      MarkAttachmentSubtable(String id, int sequence, int flags, int format, GlyphMappingTable mapping, List entries)
  • Method Details

    • getType

      public int getType()
      Specified by:
      getType in class GlyphSubtable
      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(String id, int sequence, int flags, int format, GlyphMappingTable mapping, List entries)