Method AddCharacters
AddCharacters(XFont, string)
Adds characters whose glyphs have to be embedded in the PDF file. By default, PDFsharp only embeds glyphs of a font that are used for drawing text on a page. With this function actually unused glyphs can be added. This is useful for PDF that can be modified or has text fields. So all characters that can be potentially used are available in the PDF document.
public void AddCharacters(XFont font, string chars)
Parameters
fontXFontThe font whose glyph should be added.
charsstringA string with all unicode characters that should be added.