Class DefaultTypographyApplier
java.lang.Object
com.itextpdf.commons.actions.AbstractITextEvent
com.itextpdf.layout.renderer.typography.AbstractTypographyApplier
com.itextpdf.layout.renderer.typography.DefaultTypographyApplier
- All Implemented Interfaces:
IEvent
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplyKerning(FontProgram fontProgram, GlyphLine text, SequenceId sequenceId, IMetaInfo metaInfo) booleanapplyOtfScript(TrueTypeFont font, GlyphLine glyphLine, Character.UnicodeScript script, Object configurator, SequenceId id, IMetaInfo metaInfo) byte[]getBidiLevels(BaseDirection baseDirection, int[] unicodeIds, SequenceId sequenceId, IMetaInfo metaInfo) getPossibleBreaks(String str) getSupportedScripts(Object configurator) booleanint[]reorderLine(List<LineRenderer.RendererGlyph> line, byte[] lineLevels, byte[] levels)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
DefaultTypographyApplier
public DefaultTypographyApplier()
-
-
Method Details
-
isPdfCalligraphInstance
public boolean isPdfCalligraphInstance()- Specified by:
isPdfCalligraphInstancein classAbstractTypographyApplier
-
applyOtfScript
public boolean applyOtfScript(TrueTypeFont font, GlyphLine glyphLine, Character.UnicodeScript script, Object configurator, SequenceId id, IMetaInfo metaInfo) - Overrides:
applyOtfScriptin classAbstractTypographyApplier
-
getSupportedScripts
- Overrides:
getSupportedScriptsin classAbstractTypographyApplier
-
getSupportedScripts
- Overrides:
getSupportedScriptsin classAbstractTypographyApplier
-
applyKerning
public boolean applyKerning(FontProgram fontProgram, GlyphLine text, SequenceId sequenceId, IMetaInfo metaInfo) - Overrides:
applyKerningin classAbstractTypographyApplier
-
getBidiLevels
public byte[] getBidiLevels(BaseDirection baseDirection, int[] unicodeIds, SequenceId sequenceId, IMetaInfo metaInfo) - Overrides:
getBidiLevelsin classAbstractTypographyApplier
-
reorderLine
- Overrides:
reorderLinein classAbstractTypographyApplier
-
getPossibleBreaks
- Overrides:
getPossibleBreaksin classAbstractTypographyApplier
-
loadShippedFonts
- Overrides:
loadShippedFontsin classAbstractTypographyApplier- Throws:
IOException
-