Class ScriptInfo
java.lang.Object
com.itextpdf.layout.renderer.typography.ScriptInfo
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 Summary
Modifier and TypeMethodDescriptionstatic ScriptRequirementsReturns requirements for the script.static Set<Character.UnicodeScript>Returns a set if scripts supported by pdfCalligraph.static booleanChecks if the script is supported by pdfCalligraph.
-
Method Details
-
scriptSupported
Checks if the script is supported by pdfCalligraph. Supported script have requirements set inScriptRequirements.- Parameters:
-
script- the script to check - Returns:
-
trueif the script is supported by pdfCalligraph andfalseotherwise
-
getRequirements
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
Returns a set if scripts supported by pdfCalligraph.- Returns:
- a set if scripts supported by pdfCalligraph
-