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