Class ScriptRequirements
java.lang.Object
com.itextpdf.layout.renderer.typography.ScriptRequirements
Class that contains requirements for correct shaping and layout of text for a script.
Intended for internal use
-
Method Summary
Modifier and TypeMethodDescriptionGet features that affect shaping and layout of text in the script, but are not required.Get names of OpenType scripts corresponding to the Utf script.Get features required for correct shaping and layout of text in the script.booleanCheck if the script requires hard coded handling in layout for actions not supported by OpenType features.booleanCheck if the script is supported by pdfCalligraphy.
-
Method Details
-
getRequiredFeatures
Get features required for correct shaping and layout of text in the script.- Returns:
- collection of required features
-
getAffectingFeatures
Get features that affect shaping and layout of text in the script, but are not required.- Returns:
- collection of affecting features
-
getOtfScriptNames
Get names of OpenType scripts corresponding to the Utf script.- Returns:
- collection of OpenType script names
-
isHardCodedHandling
public boolean isHardCodedHandling()Check if the script requires hard coded handling in layout for actions not supported by OpenType features. For example custom line splitting.- Returns:
-
trueif the script requires hard coded handling andfalseotherwise
-
isSupported
public boolean isSupported()Check if the script is supported by pdfCalligraphy.- Returns:
-
trueif the script is supported andfalseotherwise
-