Class TextPreprocessingUtil
public sealed class TextPreprocessingUtil
- Inheritance
-
TextPreprocessingUtil
- Inherited Members
Methods
ReplaceSpecialWhitespaceGlyphs(GlyphLine, PdfFont)
Replaces special whitespace glyphs to new whitespace '\u0020' glyph that has custom width.
public static GlyphLine ReplaceSpecialWhitespaceGlyphs(GlyphLine line, PdfFont font)
Parameters
line
GlyphLinethe string for preprocessing
font
PdfFontthe font that will be used when displaying the string
Returns
- GlyphLine
old line with new special whitespace glyphs
Remarks
Replaces special whitespace glyphs to new whitespace '\u0020' glyph that has custom width. Special whitespace glyphs are symbols such as '\u2002', '\u2003', '\u2009' and '\t'.