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 TypeMethodDescriptionboolean
applyKerning
(FontProgram fontProgram, GlyphLine text, SequenceId sequenceId, IMetaInfo metaInfo) boolean
applyOtfScript
(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) boolean
int[]
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:
isPdfCalligraphInstance
in classAbstractTypographyApplier
-
applyOtfScript
public boolean applyOtfScript(TrueTypeFont font, GlyphLine glyphLine, Character.UnicodeScript script, Object configurator, SequenceId id, IMetaInfo metaInfo) - Overrides:
applyOtfScript
in classAbstractTypographyApplier
-
getSupportedScripts
- Overrides:
getSupportedScripts
in classAbstractTypographyApplier
-
getSupportedScripts
- Overrides:
getSupportedScripts
in classAbstractTypographyApplier
-
applyKerning
public boolean applyKerning(FontProgram fontProgram, GlyphLine text, SequenceId sequenceId, IMetaInfo metaInfo) - Overrides:
applyKerning
in classAbstractTypographyApplier
-
getBidiLevels
public byte[] getBidiLevels(BaseDirection baseDirection, int[] unicodeIds, SequenceId sequenceId, IMetaInfo metaInfo) - Overrides:
getBidiLevels
in classAbstractTypographyApplier
-
reorderLine
- Overrides:
reorderLine
in classAbstractTypographyApplier
-
getPossibleBreaks
- Overrides:
getPossibleBreaks
in classAbstractTypographyApplier
-
loadShippedFonts
- Overrides:
loadShippedFonts
in classAbstractTypographyApplier
- Throws:
IOException
-