Class GsubTable

    • Constructor Detail

      • GsubTable

        protected GsubTable​(DirectoryEntry de,
                            java.io.RandomAccessFile raf)
                     throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • read

        public LookupSubtable read​(int type,
                                   java.io.RandomAccessFile raf,
                                   int offset)
                            throws java.io.IOException
        1 - Single - Replace one glyph with one glyph 2 - Multiple - Replace one glyph with more than one glyph 3 - Alternate - Replace one glyph with one of many glyphs 4 - Ligature - Replace multiple glyphs with one glyph 5 - Context - Replace one or more glyphs in context 6 - Chaining - Context Replace one or more glyphs in chained context
        Specified by:
        read in interface LookupSubtableFactory
        Throws:
        java.io.IOException
      • getType

        public int getType()
        Get the table type, as a table directory value.
        Specified by:
        getType in interface Table
        Returns:
        The table type
      • getScriptList

        public ScriptList getScriptList()
      • getLookupList

        public LookupList getLookupList()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object