java.lang.Object
com.lowagie.text.pdf.FontSelector
Deprecated.
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)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Adds aFontto be searched for valid characters.Deprecated.Process the text so that it will render with a combination of fonts if needed.voidsetDefaultColor(Color color) Deprecated.change the color of default font inFontSelector.voidsetDefaultSize(float size) Deprecated.change the size of default font inFontSelector.
-
Field Details
-
fonts
Deprecated.
-
-
Constructor Details
-
FontSelector
public FontSelector()Deprecated.
-
-
Method Details
-
setDefaultColor
Deprecated.change the color of default font inFontSelector.- Parameters:
color- theColorof default font
-
setDefaultSize
public void setDefaultSize(float size) Deprecated.change the size of default font inFontSelector.- Parameters:
size- the size of default font
-
addFont
Deprecated.Adds aFontto be searched for valid characters.- Parameters:
font- theFont
-
process
Deprecated.Process the text so that it will render with a combination of fonts if needed.- Parameters:
text- the text- Returns:
- a
Phrasewith one or more chunks
-