Package com.aowagie.text.pdf
Class FontSelector
java.lang.Object
com.aowagie.text.pdf.FontSelector
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
fonts
-
-
Constructor Details
-
FontSelector
FontSelector()
-
-
Method Details
-
addFont
Adds aFont
to be searched for valid characters.- Parameters:
font
- theFont
-
process
Process the text so that it will render with a combination of fonts if needed.- Parameters:
text
- the text- Returns:
- a
Phrase
with one or more chunks
-