Class GlyphPositioningTable.CursiveSubtableFormat1

    • Constructor Detail

      • CursiveSubtableFormat1

        CursiveSubtableFormat1​(java.lang.String id,
                               int sequence,
                               int flags,
                               int format,
                               GlyphCoverageTable coverage,
                               java.util.List entries)
    • Method Detail

      • getEntries

        public java.util.List getEntries()
        Specified by:
        getEntries in class GlyphSubtable
        Returns:
        this subtable's lookup entries
      • getExitEntryAnchors

        public GlyphPositioningTable.Anchor[] getExitEntryAnchors​(int ci1,
                                                                  int ci2)
        Obtain exit anchor for first glyph with coverage index ci1 and entry anchor for second glyph with coverage index ci2.
        Specified by:
        getExitEntryAnchors in class GlyphPositioningTable.CursiveSubtable
        Parameters:
        ci1 - coverage index of first glyph (may be negative)
        ci2 - coverage index of second glyph (may be negative)
        Returns:
        array of two anchors or null if either coverage index is negative or corresponding anchor is missing, where the first entry is the exit anchor of the first glyph and the second entry is the entry anchor of the second glyph
      • populate

        private void populate​(java.util.List entries)