public final class DefaultTypographyApplier extends AbstractTypographyApplier
| Constructor and Description |
|---|
DefaultTypographyApplier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyKerning(com.itextpdf.io.font.FontProgram fontProgram,
com.itextpdf.io.font.otf.GlyphLine text,
com.itextpdf.commons.actions.sequence.SequenceId sequenceId,
com.itextpdf.commons.actions.contexts.IMetaInfo metaInfo) |
boolean |
applyOtfScript(com.itextpdf.io.font.TrueTypeFont font,
com.itextpdf.io.font.otf.GlyphLine glyphLine,
Character.UnicodeScript script,
Object configurator,
com.itextpdf.commons.actions.sequence.SequenceId id,
com.itextpdf.commons.actions.contexts.IMetaInfo metaInfo) |
byte[] |
getBidiLevels(BaseDirection baseDirection,
int[] unicodeIds,
com.itextpdf.commons.actions.sequence.SequenceId sequenceId,
com.itextpdf.commons.actions.contexts.IMetaInfo metaInfo) |
List<Integer> |
getPossibleBreaks(String str) |
Collection<Character.UnicodeScript> |
getSupportedScripts() |
Collection<Character.UnicodeScript> |
getSupportedScripts(Object configurator) |
boolean |
isPdfCalligraphInstance() |
Map<String,byte[]> |
loadShippedFonts() |
int[] |
reorderLine(List<LineRenderer.RendererGlyph> line,
byte[] lineLevels,
byte[] levels) |
public boolean isPdfCalligraphInstance()
isPdfCalligraphInstance in class AbstractTypographyApplierpublic boolean applyOtfScript(com.itextpdf.io.font.TrueTypeFont font,
com.itextpdf.io.font.otf.GlyphLine glyphLine,
Character.UnicodeScript script,
Object configurator,
com.itextpdf.commons.actions.sequence.SequenceId id,
com.itextpdf.commons.actions.contexts.IMetaInfo metaInfo)
applyOtfScript in class AbstractTypographyApplierpublic Collection<Character.UnicodeScript> getSupportedScripts()
getSupportedScripts in class AbstractTypographyApplierpublic Collection<Character.UnicodeScript> getSupportedScripts(Object configurator)
getSupportedScripts in class AbstractTypographyApplierpublic boolean applyKerning(com.itextpdf.io.font.FontProgram fontProgram,
com.itextpdf.io.font.otf.GlyphLine text,
com.itextpdf.commons.actions.sequence.SequenceId sequenceId,
com.itextpdf.commons.actions.contexts.IMetaInfo metaInfo)
applyKerning in class AbstractTypographyApplierpublic byte[] getBidiLevels(BaseDirection baseDirection, int[] unicodeIds, com.itextpdf.commons.actions.sequence.SequenceId sequenceId, com.itextpdf.commons.actions.contexts.IMetaInfo metaInfo)
getBidiLevels in class AbstractTypographyApplierpublic int[] reorderLine(List<LineRenderer.RendererGlyph> line, byte[] lineLevels, byte[] levels)
reorderLine in class AbstractTypographyApplierpublic List<Integer> getPossibleBreaks(String str)
getPossibleBreaks in class AbstractTypographyApplierpublic Map<String,byte[]> loadShippedFonts() throws IOException
loadShippedFonts in class AbstractTypographyApplierIOExceptionCopyright © 1998–2023 Apryse Group NV. All rights reserved.