Class OpenTypeScript

java.lang.Object
org.apache.fontbox.ttf.OpenTypeScript

public final class OpenTypeScript extends Object
A class for mapping Unicode codepoints to OpenType script tags
Author:
Aaron Madlon-Kay
See Also:
  • Field Details

  • Method Details

    • getScriptTags

      public static 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