Package com.itextpdf.layout.renderer
Class TypographyUtils
java.lang.Object
com.itextpdf.layout.renderer.TypographyUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<Character.UnicodeScript>
static Collection<Character.UnicodeScript>
getSupportedScripts
(Object typographyConfig) static boolean
Checks if layout module can access pdfCalligraphstatic void
setTypographyApplierInstance
(AbstractTypographyApplier newInstance) SetAbstractTypographyApplier
instance to use.
-
Method Details
-
setTypographyApplierInstance
SetAbstractTypographyApplier
instance to use.- Parameters:
-
newInstance
- the instance to set
-
isPdfCalligraphAvailable
public static boolean isPdfCalligraphAvailable()Checks if layout module can access pdfCalligraph- Returns:
-
true
if layout can access pdfCalligraph andfalse
otherwise
-
getSupportedScripts
-
getSupportedScripts
-
loadShippedFonts
- Throws:
-
IOException
-