Class GlyphDefinitionSubtable

    • Constructor Detail

      • GlyphDefinitionSubtable

        protected GlyphDefinitionSubtable​(java.lang.String id,
                                          int sequence,
                                          int flags,
                                          int format,
                                          GlyphMappingTable mapping)
        Instantiate a GlyphDefinitionSubtable.
        Parameters:
        id - subtable identifier
        sequence - subtable sequence
        flags - subtable flags
        format - subtable format
        mapping - subtable coverage table
    • Method Detail

      • getTableType

        public int getTableType()
        Specified by:
        getTableType in class GlyphSubtable
        Returns:
        this subtable's table type
      • getTypeName

        public java.lang.String getTypeName()
        Specified by:
        getTypeName in class GlyphSubtable
        Returns:
        this subtable's type name
      • usesReverseScan

        public boolean usesReverseScan()
        Specified by:
        usesReverseScan in class GlyphSubtable
        Returns:
        true if subtable uses reverse scanning of glyph sequence, meaning from the last glyph in a glyph sequence to the first glyph
      • hasDefinition

        public boolean hasDefinition​(int gi)
        Determine if some definition is available for a specific glyph.
        Specified by:
        hasDefinition in interface GlyphDefinition
        Parameters:
        gi - a glyph index
        Returns:
        true if some (unspecified) definition is available for the specified glyph