public final class TextPreprocessingUtil extends Object
Modifier and Type | Method and Description |
---|---|
static com.itextpdf.io.font.otf.GlyphLine |
replaceSpecialWhitespaceGlyphs(com.itextpdf.io.font.otf.GlyphLine line,
PdfFont font)
Replaces special whitespace glyphs to new whitespace ' ' glyph that has custom width.
|
public static com.itextpdf.io.font.otf.GlyphLine replaceSpecialWhitespaceGlyphs(com.itextpdf.io.font.otf.GlyphLine line, PdfFont font)
line
- the string for preprocessingfont
- the font that will be used when displaying the stringCopyright © 1998–2021 iText Group NV. All rights reserved.