Class GsubWorkerForLatin

  • All Implemented Interfaces:
    GsubWorker

    public class GsubWorkerForLatin
    extends java.lang.Object
    implements GsubWorker
    Latin-specific implementation of GSUB system
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.List<java.lang.String> FEATURES_IN_ORDER
      This sequence is very important.
      private GsubData gsubData  
      private static org.apache.commons.logging.Log LOG  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private java.util.List<java.lang.Integer> applyGsubFeature​(ScriptFeature scriptFeature, java.util.List<java.lang.Integer> originalGlyphs)  
      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
    • Constructor Detail

      • GsubWorkerForLatin

        GsubWorkerForLatin​(GsubData gsubData)
    • 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
      • applyGsubFeature

        private java.util.List<java.lang.Integer> applyGsubFeature​(ScriptFeature scriptFeature,
                                                                   java.util.List<java.lang.Integer> originalGlyphs)