public final class TypographyUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Collection<Character.UnicodeScript> |
getSupportedScripts() |
static Collection<Character.UnicodeScript> |
getSupportedScripts(Object typographyConfig) |
static boolean |
isPdfCalligraphAvailable()
Checks if layout module can access pdfCalligraph
|
static Map<String,byte[]> |
loadShippedFonts() |
static void |
setTypographyApplierInstance(AbstractTypographyApplier newInstance)
Set AbstractTypographyApplier instance to use.
|
public static void setTypographyApplierInstance(AbstractTypographyApplier newInstance)
AbstractTypographyApplier
instance to use.
newInstance
- the instance to set
public static boolean isPdfCalligraphAvailable()
true
if layout can access pdfCalligraph and false
otherwise
public static Collection<Character.UnicodeScript> getSupportedScripts()
public static Collection<Character.UnicodeScript> getSupportedScripts(Object typographyConfig)
public static Map<String,byte[]> loadShippedFonts() throws IOException
IOException
Copyright © 1998–2022 iText Group NV. All rights reserved.