Table of Contents

Class FontSelector

Namespace
iTextSharp.text.pdf
Assembly
iTextSharp.LGPLv2.Core.dll

Selects the appropriate fonts that contain the glyphs needed to render text correctly. The fonts are checked in order until the character is found. The built in fonts "Symbol" and "ZapfDingbats", if used, have a special encoding to allow the characters to be referred by Unicode. @author Paulo Soares (psoares@consiste.pt)

public class FontSelector
Inheritance
FontSelector
Inherited Members

Constructors

FontSelector()

public FontSelector()

Fields

Fonts

protected List<Font> Fonts

Field Value

List<Font>

Methods

AddFont(Font)

Adds a Font to be searched for valid characters.

public void AddFont(Font font)

Parameters

font Font

the Font

Process(string)

Process the text so that it will render with a combination of fonts if needed.

public Phrase Process(string text)

Parameters

text string

the text

Returns

Phrase

a Phrase with one or more chunks