Class DefaultGsubWorker

  • All Implemented Interfaces:
    GsubWorker

    class DefaultGsubWorker
    extends java.lang.Object
    implements GsubWorker
    A default implementation of GsubWorker that actually does not transform the glyphs yet allows to correctly load GSUB table data even from fonts for which a complete glyph substitution is not implemented.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static org.apache.commons.logging.Log LOG  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Integer> applyTransforms​(java.util.List<java.lang.Integer> originalGlyphIds)
      Applies language-specific transforms including GSUB and any other pre or post-processing necessary for displaying Glyphs correctly.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        private static final org.apache.commons.logging.Log LOG
    • Constructor Detail

      • DefaultGsubWorker

        DefaultGsubWorker()
    • Method Detail

      • applyTransforms

        public java.util.List<java.lang.Integer> applyTransforms​(java.util.List<java.lang.Integer> originalGlyphIds)
        Description copied from interface: GsubWorker
        Applies language-specific transforms including GSUB and any other pre or post-processing necessary for displaying Glyphs correctly.
        Specified by:
        applyTransforms in interface GsubWorker
        Parameters:
        originalGlyphIds - list of original glyph IDs
        Returns:
        list of transformed glyph IDs