Class ScriptInfo

java.lang.Object
com.itextpdf.layout.renderer.typography.ScriptInfo

public final class ScriptInfo extends Object
Class containing information about script support in pdfCalligraph. It contains information about supported scripts and their requirements.

This class is intended for internal usage.

  • Method Details

    • scriptSupported

      public static boolean scriptSupported (Character.UnicodeScript script)
      Checks if the script is supported by pdfCalligraph. Supported script have requirements set in ScriptRequirements.
      Parameters:
      script - the script to check
      Returns:
      true if the script is supported by pdfCalligraph and false otherwise
    • getRequirements

      public static ScriptRequirements getRequirements (Character.UnicodeScript script)
      Returns requirements for the script. Only supported script have the requirements set.
      Parameters:
      script - the script to get requirements for
      Returns:
      requirements for the script. Only supported script have the requirements set
    • getSupportedScripts

      public static Set<Character.UnicodeScript> getSupportedScripts()
      Returns a set if scripts supported by pdfCalligraph.
      Returns:
      a set if scripts supported by pdfCalligraph