Class OpenTypeScript

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String INHERITED  
      static java.lang.String TAG_DEFAULT  
      static java.lang.String UNKNOWN  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String[] getScriptTags​(int codePoint)
      Obtain the OpenType script tags associated with the given Unicode codepoint.
      • Methods inherited from class java.lang.Object

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

      • getScriptTags

        public static java.lang.String[] getScriptTags​(int codePoint)
        Obtain the OpenType script tags associated with the given Unicode codepoint. The result may contain the special value #INHERITED, which indicates that the codepoint's script can only be determined by its context. Unknown codepoints are mapped to #TAG_DEFAULT.
        Parameters:
        codePoint -
        Returns:
        An array of four-char script tags