public class FontSelector extends Object
The built in fonts "Symbol" and "ZapfDingbats", if used, have a special encoding to allow the characters to be referred by Unicode.
Constructor and Description |
---|
FontSelector() |
Modifier and Type | Method and Description |
---|---|
void |
addFont(Font font)
Adds a
Font to be searched for valid characters. |
Phrase |
process(String text)
Process the text so that it will render with a combination of fonts
if needed.
|
public void addFont(Font font)
Font
to be searched for valid characters.font
- the Font
Copyright © 2020. All rights reserved.