public final class DefaultTypographyApplier extends AbstractTypographyApplier
Constructor and Description |
---|
DefaultTypographyApplier() |
Modifier and Type | Method and Description |
---|---|
boolean |
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) |
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 AbstractTypographyApplier
public boolean applyOtfScript(TrueTypeFont font, GlyphLine glyphLine, Character.UnicodeScript script, Object configurator, SequenceId id, IMetaInfo metaInfo)
applyOtfScript
in class AbstractTypographyApplier
public Collection<Character.UnicodeScript> getSupportedScripts()
getSupportedScripts
in class AbstractTypographyApplier
public Collection<Character.UnicodeScript> getSupportedScripts(Object configurator)
getSupportedScripts
in class AbstractTypographyApplier
public boolean applyKerning(FontProgram fontProgram, GlyphLine text, SequenceId sequenceId, IMetaInfo metaInfo)
applyKerning
in class AbstractTypographyApplier
public byte[] getBidiLevels(BaseDirection baseDirection, int[] unicodeIds, SequenceId sequenceId, IMetaInfo metaInfo)
getBidiLevels
in class AbstractTypographyApplier
public int[] reorderLine(List<LineRenderer.RendererGlyph> line, byte[] lineLevels, byte[] levels)
reorderLine
in class AbstractTypographyApplier
public List<Integer> getPossibleBreaks(String str)
getPossibleBreaks
in class AbstractTypographyApplier
public Map<String,byte[]> loadShippedFonts() throws IOException
loadShippedFonts
in class AbstractTypographyApplier
IOException
Copyright © 1998–2022 iText Group NV. All rights reserved.